ZingChart: Why is my x and/or y-axis scale label getting cut off?

If your scales or scale labels are getting cut off in any way you must adjust the margins of your plotarea. You can do this explicitly like so:

plotarea: {
    marginLeft:'10%',
    marginRight:'10%',
    ...
}

Or You can let our algorithm do the work for you with:

plotarea: {
    marginLeft:'dynamic',
    marginRight:'dynamic'
    ...
}

If you are reading this question, your graph scales should be getting cut off by the edge of the graph or possibly overlapping other scales.

Example: https://demos.zingchart.com/view/I0GJTQ4J

Here's what your graph looks like after your margins have been set to dynamic

Example: https://demos.zingchart.com/view/KR1K6IKJ

Documentation

Plotarea JSON Docs

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us