jQuery UI Widgets › Forums › Chart › Series defined in Json
Tagged: Angular chart, angular2 chart, bootstrap chart, javascript chart, jquery chart, jqwidgets chart, jqxChart, json, typescript chart
This topic contains 3 replies, has 3 voices, and was last updated by Hristo 7 years, 5 months ago.
-
AuthorSeries defined in Json Posts
-
Is it possible to create a chart when the series are defined in the JSON? I have recorded the signal-strength of a wireless transmitter at a number of receivers over time. For any transmitter, I don’t know in advance which receivers record signal strength. I want a chart that has a separate series for each receiver plotted over time. The JSON data looks like this:
[{ "Receiver":"R-AAA-0012", "Data":[ {"TimeStamp":"2017-01-17T02:06:45.183+00:00","SS":-27.5}, {"TimeStamp":"2017-01-17T02:06:46.2+00:00","SS":-27.5}, {"TimeStamp":"2017-01-17T02:06:47.23+00:00","SS":-29.0}, {"TimeStamp":"2017-01-17T02:06:48.737+00:00","SS":-28.0}, {"TimeStamp":"2017-01-17T02:06:49.75+00:00","SS":-27.5}, {"TimeStamp":"2017-01-17T02:06:51.263+00:00","SS":-27.5}, {"TimeStamp":"2017-01-17T02:06:52.273+00:00","SS":-28.0}, {"TimeStamp":"2017-01-17T02:06:53.823+00:00","SS":-27.0}, {"TimeStamp":"2017-01-17T02:06:54.797+00:00","SS":-28.0}, {"TimeStamp":"2017-01-17T02:06:56.32+00:00","SS":-27.5}, {"TimeStamp":"2017-01-17T02:06:57.343+00:00","SS":-28.0}, {"TimeStamp":"2017-01-17T02:06:58.863+00:00","SS":-27.5}, ]}, { "Receiver":"R-AAA-0019", "Data":[ {"TimeStamp":"2017-01-17T02:06:45.183+00:00","SS":-27.5}, {"TimeStamp":"2017-01-17T02:06:46.2+00:00","SS":-27.5}, {"TimeStamp":"2017-01-17T02:06:47.23+00:00","SS":-29.0}, {"TimeStamp":"2017-01-17T02:06:48.737+00:00","SS":-28.0}, {"TimeStamp":"2017-01-17T02:06:49.75+00:00","SS":-27.5}, {"TimeStamp":"2017-01-17T02:06:51.263+00:00","SS":-27.5}, {"TimeStamp":"2017-01-17T02:06:52.273+00:00","SS":-28.0}, {"TimeStamp":"2017-01-17T02:06:53.823+00:00","SS":-27.0}, {"TimeStamp":"2017-01-17T02:06:54.797+00:00","SS":-28.0}, {"TimeStamp":"2017-01-17T02:06:56.32+00:00","SS":-27.5}, {"TimeStamp":"2017-01-17T02:06:57.343+00:00","SS":-28.0}, {"TimeStamp":"2017-01-17T02:06:58.863+00:00","SS":-27.5}, ]}]
Hello PaulMartinsen,
I would like to suggest you this forum topic:
http://www.jqwidgets.com/community/topic/how-to-load-data-from-json-data-source-in-jqxchart/
Hope this helps.Best Regards,
Hristo HristovjQWidgets team
http://www.jqwidgets.comHiPaul,
have you resolved your issue?
Can you please post your solution cause I am facing the same challenge regarding the json format.
Many thanks!
MichaelHello Michael,
Could you give us more details what is your issue and provide us an example if it is possible?
Best Regards,
Hristo HristovjQWidgets team
http://www.jqwidgets.com -
AuthorPosts
You must be logged in to reply to this topic.