Highcharts - Same type of bar report more than one in same page only last report y-axis label formatter function is calling

帅比萌擦擦* 提交于 2019-12-11 14:21:13

问题


We have two bar reports on the same page. We are generating Y-axis label formatters dynamically, but whatever format of the second chart which is overriding the first chart. I have noticed for both the charts it is calling formatter function only once.

 yAxis: [{
           min: minVal,
           max: maxVal,
           labels: {                           
             formatter: function() {
                           return getPatternDetailsLeftAxis(this.value, scope.StackBarPrefix, scope.StackBarSufix)
                         }
 }]

Can anyone help me on this issue? Thanks in advance.

来源:https://stackoverflow.com/questions/56174314/highcharts-same-type-of-bar-report-more-than-one-in-same-page-only-last-report

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!