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

Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X

plotting graph using json object

SV_10230677
9-Granite

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

Top Tags