tesmond
New pChart user
Joined: Thu Nov 10, 2011 4:18 pm Posts: 1
|
Multiple X Y values on timeline graph
Hi,
I have been struggling to create a line graph which is meant to display all the tests performed the last 24 hour period. There are 3 tests which have different x-y values and different array length. X represents the start time of the test and Y represents the duration of the test.
I initially tried to use the LineChart method, but this appears to require each array to be the same length and so I need to generate VOID values for every missing minute of the day to scale the graph. This appears to cause the graph generation to take a very long time and normally timeout.
I believe I require a ScatterLineChart, but I cannot find an example which has differing array lengths, and my attemps to follow the example do not appear to work. If anyone knows how to draw a graph of these values using pChart I would be grateful if you could advise how. Below is the data currently available, thanks.
I have the following arrays [X,Y]
TEST1(18 values) [2011-11-14 14:40,101.964],[2011-11-14 16:14,106.311],[2011-11-14 16:33,112.11],[2011-11-14 18:24,118.582],[2011-11-14 18:40,109.047],[2011-11-14 19:59,118.791],[2011-11-14 20:15,105.938],[2011-11-14 23:42,110.27],[2011-11-15 02:04,107.166],[2011-11-15 02:20,111.401],[2011-11-15 02:36,112.149],[2011-11-15 03:56,115.05],[2011-11-15 04:12,118.337],[2011-11-15 04:44,111.123],[2011-11-15 05:16,101.746],[2011-11-15 05:32,99.542],[2011-11-15 08:09,111.769],[2011-11-15 10:00,116.918]
TEST2(91 values) [2011-11-14 13:01,7.911],[2011-11-14 13:17,52.275],[2011-11-14 13:33,3.887],[2011-11-14 13:49,11.04],[2011-11-14 14:05,5.861],[2011-11-14 14:21,7.121],[2011-11-14 14:37,3.843],[2011-11-14 14:53,9.162],[2011-11-14 15:09,3.866],[2011-11-14 15:25,11.984],[2011-11-14 15:41,12.015],[2011-11-14 15:57,8.939],[2011-11-14 16:13,6.906],[2011-11-14 16:29,4.924],[2011-11-14 16:45,7.132],[2011-11-14 17:01,9.864],[2011-11-14 17:17,12.494],[2011-11-14 17:33,4.87],[2011-11-14 17:49,6.984],[2011-11-14 18:05,9.951],[2011-11-14 18:21,11.998],[2011-11-14 18:37,4.955],[2011-11-14 18:53,6.914],[2011-11-14 19:09,8.857],[2011-11-14 19:25,12.019],[2011-11-14 19:41,3.846],[2011-11-14 19:57,5.913],[2011-11-14 20:13,8.864],[2011-11-14 20:29,9.913],[2011-11-14 20:45,13.144],[2011-11-14 21:01,5.898],[2011-11-14 21:17,7.865],[2011-11-14 21:33,9.951],[2011-11-14 21:49,11.926],[2011-11-14 22:05,4.915],[2011-11-14 22:21,7.915],[2011-11-14 22:37,9.946],[2011-11-14 22:53,12.003],[2011-11-14 23:09,4.865],[2011-11-14 23:25,6.076],[2011-11-14 23:41,8.856],[2011-11-14 23:57,12.007],[2011-11-15 00:13,13.159],[2011-11-15 00:29,5.036],[2011-11-15 00:45,7.225],[2011-11-15 01:01,9.899],[2011-11-15 01:17,11.975],[2011-11-15 01:33,4.922],[2011-11-15 01:48,8.008],[2011-11-15 02:04,9.945],[2011-11-15 02:20,11.068],[2011-11-15 02:36,3.92],[2011-11-15 02:52,7.137],[2011-11-15 03:08,15.951],[2011-11-15 03:24,16.633],[2011-11-15 03:40,14.991],[2011-11-15 03:56,10.993],[2011-11-15 04:12,3.895],[2011-11-15 04:27,4.953],[2011-11-15 04:43,8.921],[2011-11-15 04:59,9.982],[2011-11-15 05:15,11.996],[2011-11-15 05:30,4.955],[2011-11-15 05:46,6.863],[2011-11-15 06:02,9.862],[2011-11-15 06:17,11.868],[2011-11-15 06:33,4.846],[2011-11-15 06:49,7.079],[2011-11-15 07:05,9.425],[2011-11-15 07:20,10.531],[2011-11-15 07:36,3.948],[2011-11-15 07:51,6.132],[2011-11-15 08:07,8.923],[2011-11-15 08:23,10.341],[2011-11-15 08:39,5.957],[2011-11-15 08:55,7.43],[2011-11-15 09:11,10.031],[2011-11-15 09:27,4.405],[2011-11-15 09:43,6.912],[2011-11-15 09:59,8.245],[2011-11-15 10:15,10.502],[2011-11-15 10:31,13.141],[2011-11-15 10:47,6.09],[2011-11-15 11:02,7.279],[2011-11-15 11:18,10.666],[2011-11-15 11:34,3.848],[2011-11-15 11:49,6.206],[2011-11-15 12:05,9.805],[2011-11-15 12:20,10.984],[2011-11-15 12:36,3.898],[2011-11-15 12:51,6.945]
TEST3(91 values) [2011-11-14 13:01,30.057],[2011-11-14 13:17,27.977],[2011-11-14 13:33,33.154],[2011-11-14 13:49,37.946],[2011-11-14 14:05,36.149],[2011-11-14 14:21,37.309],[2011-11-14 14:37,32.779],[2011-11-14 14:53,40.348],[2011-11-14 15:09,37.687],[2011-11-14 15:25,32.986],[2011-11-14 15:41,37.681],[2011-11-14 15:57,51.667],[2011-11-14 16:13,35.671],[2011-11-14 16:28,33.948],[2011-11-14 16:44,26.713],[2011-11-14 17:00,29.785],[2011-11-14 17:15,42.74],[2011-11-14 17:31,43.282],[2011-11-14 17:47,34.624],[2011-11-14 18:03,27.948],[2011-11-14 18:19,28.865],[2011-11-14 18:35,25.762],[2011-11-14 18:51,31.849],[2011-11-14 19:06,27.565],[2011-11-14 19:22,31.27],[2011-11-14 19:38,41.691],[2011-11-14 19:54,43.746],[2011-11-14 20:10,25.556],[2011-11-14 20:26,28.71],[2011-11-14 20:42,34.618],[2011-11-14 20:58,26.652],[2011-11-14 21:14,28.583],[2011-11-14 21:30,31.197],[2011-11-14 21:46,32.607],[2011-11-14 22:02,35.32],[2011-11-14 22:18,38.782],[2011-11-14 22:34,29.992],[2011-11-14 22:50,24.617],[2011-11-14 23:06,38.974],[2011-11-14 23:22,34.534],[2011-11-14 23:38,49.835],[2011-11-14 23:53,29.522],[2011-11-15 00:09,31.586],[2011-11-15 00:25,34.427],[2011-11-15 00:41,35.712],[2011-11-15 00:57,31.517],[2011-11-15 01:13,26.63],[2011-11-15 01:29,29.534],[2011-11-15 01:45,34.75],[2011-11-15 02:01,36.184],[2011-11-15 02:17,49.554],[2011-11-15 02:33,49.649],[2011-11-15 02:49,41.532],[2011-11-15 03:05,29.482],[2011-11-15 03:20,35.587],[2011-11-15 03:36,33.371],[2011-11-15 03:52,32.515],[2011-11-15 04:08,30.743],[2011-11-15 04:24,29.622],[2011-11-15 04:40,38.312],[2011-11-15 04:55,34.629],[2011-11-15 05:11,38.202],[2011-11-15 05:27,31.576],[2011-11-15 05:42,37.661],[2011-11-15 05:58,31.344],[2011-11-15 06:14,35.648],[2011-11-15 06:30,28.18],[2011-11-15 06:46,28.676],[2011-11-15 07:01,32.6],[2011-11-15 07:17,23.924],[2011-11-15 07:33,28.455],[2011-11-15 07:49,41.047],[2011-11-15 08:05,45.301],[2011-11-15 08:21,36.13],[2011-11-15 08:37,40.115],[2011-11-15 08:53,41.224],[2011-11-15 09:09,34.795],[2011-11-15 09:25,37.744],[2011-11-15 09:41,40.785],[2011-11-15 09:57,38.592],[2011-11-15 10:13,33.74],[2011-11-15 10:29,30.131],[2011-11-15 10:44,34.77],[2011-11-15 11:00,38.646],[2011-11-15 11:15,46.928],[2011-11-15 11:31,29.174],[2011-11-15 11:47,33.631],[2011-11-15 12:03,36.058],[2011-11-15 12:19,31.707],[2011-11-15 12:35,33.2],[2011-11-15 12:51,37.121]
|