# Line graph in postman

**URL:** <https://community.postman.com/t/line-graph-in-postman/42073>\
**Category:** Help Hub\
**Tags:** tests, collections\
**Created:** [December 14, 2022, 4:50pm UTC](https://community.postman.com/t/line-graph-in-postman/42073 "2022-12-14T16:50:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![joint-operations-sp7](https://avatars.discourse-cdn.com/v4/letter/j/6bbea6/32.png) [@joint-operations-sp7](https://community.postman.com/u/joint-operations-sp7)\
**Post date:** [December 14, 2022, 4:50pm UTC](https://community.postman.com/t/line-graph-in-postman/42073/1 "2022-12-14T16:50:55Z")

</div>

var template = `

`;

// Set visualizer  
pm.visualizer.set(template, {  
// Pass the response body parsed as JSON as `data`  
response: pm.response.json()  
});

My query is:

{  
“data”: {  
“predictedImages”: [  
{  
“SImg”: “./media/person1\_bacteria\_1\_lgOdnLj\_QqrqfBH.jpeg”,  
“SetImgID”: “1”,  
“alldata”: [  
{  
“SetImgID”: “1”,  
“SValue1”: “50.0”,  
“SClass1”: “NORMAL”  
}  
]  
},  
{  
“SImg”: “./media/person1\_bacteria\_1\_lgOdnLj\_QqrqfBH\_Eoc1So1.jpeg”,  
“SetImgID”: “2”,  
“alldata”: [  
{  
“SetImgID”: “2”,  
“SValue1”: “52.0”,  
“SClass1”: “PNEUMONIA”  
}  
]  
}  
]  
}  
}

---

<div class="post-metadata">

**Author:** ![michaelderekjones](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/michaelderekjones/32/14819_2.png) [@michaelderekjones](https://community.postman.com/u/michaelderekjones)\
**Post date:** [December 14, 2022, 5:37pm UTC](https://community.postman.com/t/line-graph-in-postman/42073/2 "2022-12-14T17:37:30Z")

</div>

What is your query?

All I can see is an example JSON object.

Top tip: Please use the Preformatted text option to post code or data structures.  
Otherwise its hard to read when everything gets aligned to the left.

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/system/32/29796_2.png) [@system](https://community.postman.com/u/system)\
**Post date:** [December 12, 2024, 12:52pm UTC](https://community.postman.com/t/line-graph-in-postman/42073/3 "2024-12-12T12:52:16Z")

</div>

Closed on December 12, 2024, 12:52pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
