Displaying percentage in Y-axis of Highcharts column chart

前端 未结 5 1178
醉梦人生
醉梦人生 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:10

    what I did is:

    yAxis: {min: 0, max:100,tickInterval: 25,
                  title: {
                      text: "title"
                  },
                  labels: {
                      format: '{value}%',
                  }
              }
    

提交回复
热议问题