I have 2 charts that have the same x-axis, I want one preview and when I scroll that, the 2 charts should scroll at the same time, is this feature available in ZingChart?
This demo should include all the elements you need:
You can view the source in the demo to see that we added:
{graphset: [ ]}
to create a collection of charts in a single containerzooming: true
to the scaleX object for each chartzoom: {
shared: true
}
for each chart to enable sharing
scrollX:{ }
to the second chart to add the scroll bar
crosshairX:{
shared: true
}
for shared labels when hovering over the data pointsI’m on the ZingChart team. Please let me know if this demo answers your question or if there is additional clarification I can provide.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With