You must be logged in to post your query.
Home › Forums › Report Bugs › Logarithmic line chart draws outside of canvas / out of bounds
Tagged: logarithmic
JSfiddle: https://jsfiddle.net/5devj34r/
I’m having problems with line and spline charts with logarithmic Y axis drawing series outside of the canvas area when the data series get a little crowded.
Is this a bug in the auto scaling?
Am I doing something wrong?
Tom,
A logarithmic axis can only plot positive values. There is no way to put negative values or zero on a logarithmic axis.
Fundamental: If 10L = Z, then L is the logarithm (base 10) of Z. If L is zero, then Z equals 1.0. If L is a less than 0, then Z is a positive fraction less than 1.0. If L is greater than 0, then Z is greater than 1.0. Note that there no value of L that results in a value of Z that is zero or negative. Logarithms are simply not defined for zero or negative numbers.
— Vishwas R Team CanvasJS
You must be logged in to reply to this topic. Login/Register