Displaying percentage in Y-axis of Highcharts column chart

前端 未结 5 1167
醉梦人生
醉梦人生 2020-12-18 21:46

I have a column chart very similar to this one demo. I want to display percentage on the Y-axis and not the count.Count should be displayed on top of each bar. I do not want

5条回答
  •  眼角桃花
    2020-12-18 22:15

    Use this in plot options,

    plotOptions: { column: { stacking:'percent', pointPadding: 0.2, borderWidth: 0 } },

提交回复
热议问题