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 called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. 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