ZingChart: Click and Get Scale Information

You register the click  event listener. Inside that event listener, you use the method getxyinfo to return scale information.

zingchart.bind('myChart', 'click', function(e) {
     let scaleInfos = zingchart.exec('myChart', 'getxyinfo', {
      x: e.x,
      y: e.y,

The scale information returned will look something like this:

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us