Home › forums › Using CanvasJS › "Zero-ing" primary and seconday axes
This topic contains 2 replies, has 2 voices, and was last updated by mjhannaf 5 years, 6 months ago.
Is there a way to make the 0 tick marks line up for both axes? For example, I might have all positive values for one axis (Hours worked), but a negative value for one or more of the other axis (Net revenue). I would like to “zero” tick mark to line up for both axes. Is this possible?
Fiddle example: http://jsfiddle.net/QwZuf/27/
In that case you’ll have to explicitly set interval, minimum & maximum values of axisY and axisY2 such that 0 is in sync. Here is an example.
Ok, thank you.
You must be logged in to reply to this topic.