I tried a list of two tuples with 1st empty, as
Code: Select all
annotations: [{},{
shapes: getanlist(),
backgroundColor: 'yellow',
draggable: ''
}],
The getanlist() returns a set of points as
Code: Select all
{ point: { xAxis: 0, yAxis: 0, x:1599579000000, y:-40}, type: 'circle', r:2 },
{ point: { xAxis: 0, yAxis: 0, x:1599584100000, y:-40}, type: 'circle', r:2 },
{ point: { xAxis: 0, yAxis: 0, x:1599589500000, y:-40}, type: 'circle', r:2 },...