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

Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! 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