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.

Heres what your graph looks like after your margins have been set to dynamic

All Documentation referenced here:

http://www.zingchart.com/docs/json-attributes-syntax/graph-objects/plotarea/

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.