I have a MultiGraph i.e a graph with multiple series. What I want to do is use MeasureXY(stockTools GUI Button) to highlight a particular area in my graph and then display the starting and end point of all the series in that highlighted area in a separate table inside my widget. I am able to achieve this in case of single measuremnet using MeasureXY , but I want to create separate tables in case if user decides ro do multiple measurement in graph. What I am wondering is how will I treat every shaded portion individually because I will have to update thier corresponding tables. Any way I can identify them uniquely? Please see the code below.
navigation: {
bindings: {
measureX: {
end: function() {
//gets triggered when the measure event ends
}
}
},
annotationsOptions: {
events: {
afterUpdate(e) {
//gets triggered when the measure event updates.
},
remove(e, annotation) {
// gets triggered when the clicked on the remove icon
},
}
}
}
question from:
https://stackoverflow.com/questions/65839751/i-want-to-capture-the-starting-and-end-point-of-all-the-series-in-multigraph-and 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…