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?
Asked
Active
Viewed 274 times
1 Answers
10
This demo should include all the elements you need:
- 2 charts that share an x-axis
- A preview window that controls the two charts
- A scroll bar that controls both charts and the preview window area
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 sharingscrollX:{ }
to the second chart to add the scroll barcrosshairX:{ shared: true }
for shared labels when hovering over the data points
Iām on the ZingChart team. Please let me know if this demo answers your question or if there is additional clarification I can provide.

Elizabeth
- 571
- 3
- 5
-
Thank you so much. This is actually what I wanted. Being on the team, can you please look at my another question and let me know if this feature is available or not? http://stackoverflow.com/questions/31608347/date-time-axis-working-as-string-not-as-proper-continuous-date-time-axis-in-zin ā Sarah Mandana Jul 28 '15 at 04:23
-
Hi Marium Malik, it looks like your question was addressed by another team member. Hope that helped! Thanks. ā Elizabeth Jul 29 '15 at 15:12
-
Yes, someone has replied. Thanks ā Sarah Mandana Jul 30 '15 at 05:01