amcharts5
amcharts5 copied to clipboard
Synchronize cursors between multiple chart based on date
Hello !
Is there a way to synchronize cursor between multiple chart ?
This is what I'm using as cursor :
var cursor = chart.set("cursor", am5xy.XYCursor.new(root, {
xAxis: xAcis
}));
cursor.lineY.set("visible", false);
Thanks for your help
Edited answer, it was a wrong suggestion before.
To sync cursors, you set syncWidth
setting of a cursor with array of other cursors to sync with:
cursor1.set("syncWith", [cursor2, cursor3])
This will do all the syncing.
https://www.amcharts.com/docs/v5/charts/xy-chart/cursor/#syncing-cursors
This issue is stale because it has been open 30 days with no activity. It will be closed in 5 days unless a new comment is added.