Reputation: 1
I am currently working in a project where we want to display multiple time charts with linked time axis.
We have one chart which displays multiple series of numeric data. Furthermore, there is any number of further charts which displays exactly one series of Boolean data.
Now we want to link all time axes so if you zoom/pan/move in one of these charts, all other charts will zoo/pan/move the same.
I hope you guys can help me
Thanks
P
Upvotes: 0
Views: 95
Reputation: 21495
You need to use the onPositionChange
event. It will fire every time the time position is updated. The within the handler of that event use time()
method to move the other chart as well.
Upvotes: 1