jQuery UI Widgets Forums Chart more datasource draw in one chart

This topic contains 2 replies, has 2 voices, and was last updated by  Dimitar 10 years, 6 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • more datasource draw in one chart #53328

    flyher
    Participant

    Dear ,
    I have two datasource,for example:
    data1:
    19449642,2014-04-18 16:23:50|20365678,2014-04-18 16:13:44|18956376,2014-04-18 16:03:41|9410784,2014-04-18 15:53:35|3026586,2014-04-18 15:43:28|4308578,2014-04-18 15:33:21|4445709,2014-04-18 15:23:14|3400420,2014-04-18 15:13:08|2679047,2014-04-18 15:03:01|5816577,2014-04-18 14:52:54|4416967,2014-04-18 14:42:45|1761794,2014-04-18 14:32:37|2437622,2014-04-18 14:22:32|3621035,2014-04-18 14:12:25|6064349,2014-04-18 14:02:17|3375084,2014-04-18 13:52:10|2690596,2014-04-18 13:42:02|1697910,2014-04-18 13:31:54|1809647,2014-04-18 13:21:47|1151287,2014-04-18 13:11:39|1412260,2014-04-18 13:01:33|1901642,2014-04-18 12:51:26|1589342,2014-04-18 12:41:18|1368573,2014-04-18 12:31:12|1817641,2014-04-18 12:21:05|945178,2014-04-18 12:10:57|3364069,2014-04-18 12:00:51|1815037,2014-04-18 11:50:44|1703883,2014-04-18 11:40:36|2255998,2014-04-18 11:30:29|2277935,2014-04-18 11:20:24|1056207,2014-04-18 11:10:16|2269864,2014-04-18 11:00:09|2330042,2014-04-18 10:50:02|2577122,2014-04-18 10:39:54|3048366,2014-04-18 10:29:46|2833967,2014-04-18 10:19:39|2869772,2014-04-18 10:09:33|3497889,2014-04-18 09:59:27|3841115,2014-04-18 09:49:19|3432940,2014-04-18 09:39:10|5330082,2014-04-18 09:29:04|7583046,2014-04-18 09:18:58|12484938,2014-04-18 09:08:54|12135295,2014-04-18 08:58:49|11778605,2014-04-18 08:48:43|12156938,2014-04-18 08:38:37|12504874,2014-04-18 08:28:33|21226148,2014-04-18 08:18:26|22198026,2014-04-18 08:08:23|21243872,2014-04-18 07:58:19|19867662,2014-04-18 07:48:14|20682200,2014-04-18 07:38:10|16600394,2014-04-18 07:28:06|15181877,2014-04-18 07:18:03|16388961,2014-04-18 07:07:56|16229365,2014-04-18 06:57:51|16625630,2014-04-18 06:47:46|15681898,2014-04-18 06:37:40|16924658,2014-04-18 06:27:36|16964504,2014-04-18 06:17:32|17046244,2014-04-18 06:07:27|18069274,2014-04-18 05:57:24|19253388,2014-04-18 05:47:18|18792848,2014-04-18 05:37:13|20732572,2014-04-18 05:27:07|19454036,2014-04-18 05:17:04|19894776,2014-04-18 05:06:58|20321038,2014-04-18 04:56:54|19619864,2014-04-18 04:46:49|19040798,2014-04-18 04:36:43|20486048,2014-04-18 04:26:39|19267050,2014-04-18 04:16:35|22782528,2014-04-18 04:06:29|23208952,2014-04-18 03:56:23|23444568,2014-04-18 03:46:19|24689948,2014-04-18 03:36:15|25361138,2014-04-18 03:26:11|24765890,2014-04-18 03:16:07|25999986,2014-04-18 03:06:03|24719994,2014-04-18 02:55:59|23126826,2014-04-18 02:45:55|26310370,2014-04-18 02:35:51|27162992,2014-04-18 02:25:47|26865938,2014-04-18 02:15:44|26975806,2014-04-18 02:05:40|26298584,2014-04-18 01:55:36|28964138,2014-04-18 01:45:32|30008150,2014-04-18 01:35:28|30956432,2014-04-18 01:25:24|29192630,2014-04-18 01:15:19|29116268,2014-04-18 01:05:15|30294930,2014-04-18 00:55:10|28413000,2014-04-18 00:45:06|28927350,2014-04-18 00:35:02|27484974,2014-04-18 00:24:58|29026870,2014-04-18 00:14:54|28304826,2014-04-18 00:04:51|27910820,2014-04-17 23:54:47|26678248,2014-04-17 23:44:41|27110822,2014-04-17 23:34:37|29424626,2014-04-17 23:24:33|31151466,2014-04-17 23:14:29|28616090,2014-04-17 23:04:25|30162618,2014-04-17 22:54:20|30809220,2014-04-17 22:44:15|27963036,2014-04-17 22:34:10|29370732,2014-04-17 22:24:07|29520130,2014-04-17 22:14:03|32565958,2014-04-17 22:03:59|29512546,2014-04-17 21:53:55|32585360,2014-04-17 21:43:52|29865350,2014-04-17 21:33:48|31108976,2014-04-17 21:23:44|31416192,2014-04-17 21:13:40|31135952,2014-04-17 21:03:36|33509084,2014-04-17 20:53:32|31271456,2014-04-17 20:43:29|33305422,2014-04-17 20:33:25|31646734,2014-04-17 20:23:21|33662028,2014-04-17 20:13:17|33829408,2014-04-17 20:03:14|36758428,2014-04-17 19:53:10|34199804,2014-04-17 19:43:06|34529848,2014-04-17 19:33:02|36323804,2014-04-17 19:22:58|37174316,2014-04-17 19:12:53|38215912,2014-04-17 19:02:49|39093568,2014-04-17 18:52:46|37592292,2014-04-17 18:42:42|39276964,2014-04-17 18:32:39|39159632,2014-04-17 18:22:35|39453372,2014-04-17 18:12:32|41856060,2014-04-17 18:02:27|43386928,2014-04-17 17:52:23|43665744,2014-04-17 17:42:20|43055628,2014-04-17 17:32:16|44042364,2014-04-17 17:22:12|41397200,2014-04-17 17:12:08|46534960,2014-04-17 17:02:04|44331040,2014-04-17 16:52:00|48319384,2014-04-17 16:41:56
    —————–
    data2
    35,2014-04-18 11:32:36|44,2014-04-18 10:32:36|69,2014-04-18 09:32:38|69,2014-04-18 08:32:36|69,2014-04-18 07:32:36|74,2014-04-18 06:32:36|72,2014-04-18 05:32:36|67,2014-04-18 04:32:36|78,2014-04-18 03:32:36|64,2014-04-18 02:32:36|59,2014-04-18 01:32:36|58,2014-04-18 00:32:36|55,2014-04-17 23:32:36|52,2014-04-17 22:32:36|47,2014-04-17 21:32:36|37,2014-04-17 20:32:36|41,2014-04-17 19:32:35|34,2014-04-17 18:32:36|36,2014-04-17 17:32:35|44,2014-04-17 16:32:35|47,2014-04-17 15:32:36|46,2014-04-17 14:32:35|43,2014-04-17 13:32:35|50,2014-04-17 12:32:36
    —————–
    Now i want to put this two datasource into a chart,
    it should be draw like this(the third picture):

    pic

    if they have the same time point,i can easily to draw it with our demo,
    but int this scene,the two datasource have different time point,what should i do to draw a right chart.

    thank you!

    more datasource draw in one chart #53329

    flyher
    Participant

    PS:
    In the demo ,i can see the datasource all like this:
    ============
    1950 105.8948393 59.9171862 151.684 0.0232
    1951 103.8986687 59.2786986 154.287 0.0257
    1952 103.9743275 58.94343772 156.954 0.0268
    1953 113.8451588 60.8392201 159.565 0.0283
    1954 115.6204181 62.25447619 162.391 0.0248
    1955 115.5419272 65.95528267 165.275 0.0261
    1956 113.7942463 68.79148786 168.221 0.029
    1957 113.6664365 69.24632104 171.274 0.0346
    1958 111.7970971 68.9257142 174.141 0.0309
    1959 110.4583238 70.95296772 177.13 0.0402
    1960 109.6495745 71.63614258 180.76 0.0472
    1961 109.5092421 71.568197 183.742 0.0384
    1962 108.7289429 72.59299982 186.59 0.0408
    ===========
    the four lines datasource have a same time,but in my datasource,they have different time.

    more datasource draw in one chart #53392

    Dimitar
    Participant

    Hello flyher,

    Unfortunately, this cannot be achieved. There is a feature, which will be implemented in a future version of jQWidgets, that will allow to set null to the lines that have no data for a particular time. Please check out the topic null value skip for more information.

    Best Regards,
    Dimitar

    jQWidgets team
    http://www.jqwidgets.com/

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

You must be logged in to reply to this topic.