Search code examples
amchartsamcharts4

labels size in amCharts (it hides them too early)


I have a simple bar chart with amCharts 4 and my problem is, that the chart starts hiding labels too early. (there's still enough space to display them)

Does someone have an idea, how to fix that, in the official documentation I couldn't find anything useful.

example of chart


Solution

  • Try

    categoryAxis.renderer.minGridDistance = 1;