jQuery UI Widgets Forums Chart Series defined in Json

This topic contains 3 replies, has 3 voices, and was last updated by  Hristo 6 years, 6 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • Series defined in Json #90737

    PaulMartinsen
    Participant

    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},
      ]}]
    Series defined in Json #90759

    Hristo
    Participant

    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 Hristov

    jQWidgets team
    http://www.jqwidgets.com

    Series defined in Json #95447

    mim
    Participant

    HiPaul,
    have you resolved your issue?
    Can you please post your solution cause I am facing the same challenge regarding the json format.
    Many thanks!
    Michael

    Series defined in Json #95455

    Hristo
    Participant

    Hello Michael,

    Could you give us more details what is your issue and provide us an example if it is possible?

    Best Regards,
    Hristo Hristov

    jQWidgets team
    http://www.jqwidgets.com

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.