我有一个(水平)条形图,我想在系列栏的基础(或最左边部分)添加dataLabel.
与此类似:http: //flowingdata.com/2009/05/22/poll-results-what-data-related-area-are-you-most-interested-in/
有没有办法使用formatter函数来设置这个值?
plotOptions: {
bar: {
dataLabels: {
formatter: function() {
this.series.options.dataLabels.x = ?????????????
return this.y;
},
Run Code Online (Sandbox Code Playgroud) highcharts ×1