You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to pass multiple Json data for the multiple line charts.
I know for the single line chart, line would pass the data as:
var data = {
x: 'quantity1',
json: this.state.data1,
types: {
quantity1: 'line'
}
};
Here, in my case I want to draw two lines on the chart. Therefore I do this:
var data = {
x: 'quantity1', // this is the timestamp
json: this.state.data1,
json: this.state.data2,
types: {
quantity1: 'line',
quantity2: 'line'
};
};
I feel this is not the appropriate way to pass the data for the lines.
Hey,
I am trying to pass multiple Json data for the multiple line charts.
I know for the single line chart, line would pass the data as:
Here, in my case I want to draw two lines on the chart. Therefore I do this:
I feel this is not the appropriate way to pass the data for the lines.
My timestamp data format in both the cases are:
Please help me in this!
Thanks.
The text was updated successfully, but these errors were encountered: