I'm trying to adapt this code (amCharts 5 Gantt Chart) to my project and want to hide the x-axis labels on this amCharts 5 gannt chart. Any thoughts on how to achieve this?
Asked
Active
Viewed 656 times
1 Answers
1
From their demo code, just before the following...
chart.appear(1000, 100);
Add the following...
xAxis.hide();
If that doesn't work for you, perhaps do it after the chart is shown (chart.appear(1000, 100);
)?
More information: https://www.amcharts.com/docs/v5/reference/axislabel/#hide_method

Simon K
- 1,503
- 1
- 8
- 10