Bar Chart Y axis data going out of the box

0
  I am unable to handle the Y axis data of my bar chart. I have even tried out margin and padding, yet it is going out, and I can find no way for that. Is there any way to resolve it, rather than using AnyCharts widgets?   I am currently using Mendix version 10.20 and it shows no dev option in charts widget.
asked
1 answers
0

Hi Ayush, this is a common limitation with the default Charts (by Mendix) widget, especially in newer Mendix versions like 10.20, where fine-tuning options like Y-axis label spacing or rotation are minimal.

 

Use Custom Layout via CSS

Wrap the chart in a container and apply custom CSS to manage overflow and spacing.

.custom-chart-wrapper

overflow-x: auto; 

padding-left: 40px;

}

in Mendix, give the chart’s container the class ".custom-chart-wrapper"

 

  • Shorten Y-axis Labels, long labels cause overflow tries abbreviating them or formatting values in your data source.

  • Update to Latest Charts Widget, make sure you’re using the newest version from the Marketplace.

  • No Dev Tab in 10.20, that’s expected. Advanced controls are limited for full control, you’d need AnyChart or a custom widget.

I hope this one helps you! :)

answered