问题
I have High Chart Bar chart... I had set value xAxis in to Usa,Canada,Japan,USA,Canada,Japan,Usa,Canada,Japan I need to Set the name Under each Usa,Canada,Japan 1st level and 2nd level and 3d Level
x Axis: {
type: 'category',
categories: ['USA', 'Canada', 'Japan', 'UsA', 'Canada', 'Japan', 'USA',
'Canada', 'JAPAN'],
under each Categories I need to 1st level and 2nd level and 3d Level
enter image description here
回答1:
Take a look at this plugin: https://www.highcharts.com/plugin-registry/single/11/Grouped-Categories
I think that using it fits your requirement.
来源:https://stackoverflow.com/questions/61706144/highchart-barchart-xaxis