I want to simultaneously append two objects to echartsInstance. appendData as following :
echartsInstance.appendData(
{
seriesIndex: 0,
data: data1
},
{
seriesIndex: 1,
data: data2
}
);
the purpose of this is to add new data to two line charts without re-rending the whole chart.
The question is possible to pass those two objects representing 2 line charts into echartsInstance. appendData ?
I want to simultaneously append two objects to echartsInstance. appendData as following :
echartsInstance.appendData(
{
seriesIndex: 0,
data: data1
},
{
seriesIndex: 1,
data: data2
}
);
the purpose of this is to add new data to two line charts without re-rending the whole chart.
The question is possible to pass those two objects representing 2 line charts into echartsInstance. appendData ?