amcharts / amcharts3

JavaScript Charts V3
Other
395 stars 129 forks source link

renderer Listener AmStock #191

Open cdnblvck opened 6 years ago

cdnblvck commented 6 years ago

I have a problem on Amstock zoomed listener on . I want to make a listener on the zoom but it can not a set node as on the example var sb = e.chart.chartScrollbar.set.node; Yet here it's https://codepen.io/team/amcharts/pen/2466eefebdfecfcc77a0b2b17cb3efd4 My test code link http://jsfiddle.net/p6rc8y00/15/ ps : sorry for my bad english

darlesson commented 6 years ago

You could find the DOM element instead: e.chart.div.querySelector('.amcharts-scrollbar-chart-div').

Please check the updated example here: http://jsfiddle.net/p6rc8y00/68/