Home > Enterprise >  How can I change the alignment of bar columns in highchart in vueJs
How can I change the alignment of bar columns in highchart in vueJs

Time:09-28

Wanted to change the alignment of bar graph to the center enter image description here

CodePudding user response:

You need to disable grouping for your series:

  plotOptions: {
    series: {
      grouping: false
    }
  }

Live demo: http://jsfiddle.net/BlackLabel/wz3cjmfn/

API Reference: https://api.highcharts.com/highcharts/series.column.grouping

  • Related