sebba23
sebba23

Reputation: 574

how to get some margin in the axis of a chart qml

I have made a chart in qml, everything is fine. The only thing I can't do is to have some spacing between the axis x and the value of its axis. I mean how can I put some margin? Because now I have the label of the x nearly attached to the x axis. Is there some anchors.margin or spacing to do this?

Thank you

Upvotes: 2

Views: 557

Answers (1)

sebba23
sebba23

Reputation: 574

I resolved putting a <br> in the format property of the date.

format: "<br>dd-MM-yyyy"

At least I have a space between the label and the axis.

Upvotes: 1

Related Questions