cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email. X

plotting graph using json object

SV_10230677
10-Marble

plotting graph using json object

Consider I have a series of json data as follows,

 

[{"f":"450.0","a":"746.0"},{"f":"453.0","a":"1119.0"},{"f":"456.0","a":"746.0"}]

with f denoting frequency and a represents acceleration. 

 

How to plot a graph for acceleration in x axis and frequency in y axis ?

 

How to write a service for the same ?

 

1 REPLY 1
jensc
17-Peridot
(To:SV_10230677)

Hello,

 

My first thought would be to convert your JSON into an Infotable so that you can use it in your preferred graph widget.

Here is one way you can convert your JSON into an Infotable: PTC support article

 

Hope this helps.

 

Regards,

Jens

Announcements


Top Tags