HI ,
i want to draw one dynamic real time chart with multiple data-points sources is that possible?i just want to see one chart and switch between them. i mean that.
data: [{
// dataSeries1
type: "line",
xValueType: "dateTime",
showInLegend: true,
name: "Company A",
dataPoints: dataPointsi1
},
{
// dataSeries2
type: "line",
xValueType: "dateTime",
showInLegend: true,
name: "Company B" ,
dataPoints: dataPointsi2
} ,
{
// dataSeries3
type: "line",
xValueType: "dateTime",
showInLegend: true,
name: "Company C" ,
dataPoints: dataPointsi3
}]
if(ii==1) // ii variable take 0 or 1
{
dataPointsi1 = dataPoints1;
dataPointsi2 = dataPoints2;
dataPointsi3 = dataPoints3;}
else if(ii==0)
{
dataPointsi1 = dataPoints4;
dataPointsi2 = dataPoints5;
dataPointsi3 = dataPoints6;}
thank you.