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,
    });
    console.log(scaleInfos);
});

The scale information returned will look something like this:

Related Documentation

Did this answer your question?