2
Answers

How to draw a Multiple line chart using Jqplot?

Dinesh Santhalingam

Dinesh Santhalingam

7y
465
1
I have an array .I map the array data to plot the line chart using Jqplot. goog has two set of arrays.
goog={[arr1],[arr2]}
 
I map the data to the chart. 
  1. for (var i = 0; i <= goog.length; i++) {  
  2.   plot1 = $.jqplot('chart1', [goog[i]], opts);    }  
 
Here the Line chart is plotted for the last iteration only .The previous data are not plotted.

Answers (2)