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, }); console.log(scaleInfos); });
The scale information returned will look something like this: