How would I add the following data using the jQuery/JavaScript object syntax using the Lines gallery for each series? Each set of data should result in a different line series. The X axis should display dates and times. The primary Y axis should show the pressures and a secondary Y axis should show the flows. How would I set up the arrays and associate each set of data with each different series? Notice that each series can have the same or different number of values.
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Question
DanielL_550
How would I add the following data using the jQuery/JavaScript object syntax using the Lines gallery for each series? Each set of data should result in a different line series. The X axis should display dates and times. The primary Y axis should show the pressures and a secondary Y axis should show the flows. How would I set up the arrays and associate each set of data with each different series? Notice that each series can have the same or different number of values.
Series 1 "Casing Pressure"
2012-01-21T02:45:10.280Z 79
2012-01-26T03:45:10.280Z 82
2012-02-10T02:45:10.280Z 93
2012-02-19T03:45:10.280Z 102
2012-03-21T02:45:10.280Z 128
2012-03-29T03:45:10.280Z 134
Series 2 "Tubing Pressure"
2012-01-21T02:45:10.280Z 379
2012-01-26T03:45:10.280Z 582
2012-02-10T02:45:10.280Z 293
2012-02-19T03:45:10.280Z 5102
2012-03-21T02:45:10.280Z 4128
2012-03-29T03:45:10.280Z 6134
Series 3 "Water Flow"
2012-01-21T15:45:22.280Z 321
2012-02-19T16:45:11.280Z 293
2012-03-21T17:45:34.280Z 456
2012-03-22T18:45:45.280Z 563
2012-02-22T16:45:11.280Z 212
2012-03-23T18:45:34.280Z 611
2012-03-24T22:45:45.280Z 123
Series 4 "Yesterday Water Flow"
2012-01-21T01:45:22.280Z 311
2012-02-19T02:45:11.280Z 299
2012-03-21T03:45:34.280Z 433
2012-03-28T04:45:45.280Z 560
2012-03-29T05:22:11.280Z 111
Series 5 "Oil Flow"
2012-01-21T15:45:22.280Z 23
2012-02-19T16:45:11.280Z 43
2012-03-21T17:45:34.280Z 51
Series 6 "Yesterday Oil Flow"
2012-01-21T01:45:22.280Z 78
2012-02-19T02:45:11.280Z 132
2012-03-21T03:45:34.280Z 134
2012-03-24T04:45:45.280Z 356
Thank you.
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.