Qt 6.11 is out! See what's new in the release
blog
QML. ChartView. Is it possible to increase distance between the axe and values?
-
I have a ChartView:

I wonder if it is possible to increase distance between X axes and its values (years)? I want to increase it. -
@sonicss said in QML. ChartView. Is it possible to increase distance between the axe and values?:
range
You could add a "<br>" to the label format, or rotate the label:
ValueAxis { // [...] labelFormat: "<br>%.0f" }ValueAxis { // [...] labelsAngle: -60 }