Is it possible to limit the maximum width of a column in an XY Chart? I am using AmCharts4 in an Angular Project with Typescript.
In the picture below:
Is there a way to prevent the 2nd chart from having its single column expand so much? It's fine if it expands, but I would like to be able to limit it in some way.
Maybe something like?
categoryAxis.maxColumnWidth = 50
I checked the documentation here: https://www.amcharts.com/docs/v4/tutorials/managing-width-and-spacing-of-column-series/ but did not see anything.
You can set the maxWidth of Column Series like this:
let columnSeries = chart.series.push(new am4charts.ColumnSeries());
columnSeries.columns.template.maxWidth = 50