You can manipulate the markerSize dynamically by counting the number of dataPoints between viewportMinimum and viewportMaximum of AxisX on rangeChanged event. Please take a look at this jsfiddle.
__
Shashi Ranjan
Team CanvasJS
We don’t have this feature as of now but we may consider this in future releases.
__
Shashi Ranjan
Team CanvasJS
Can you please share a pictorial representation depicting your requirements so that we can look into it and help you out?
__
Shashi Ranjan
Team CanvasJS
You can use logarithmic axis over axisY to show labels as 0.1, 1, 10, 100, etc.
is there any way for static y-axis?
If you mean to keep axis range unchanged even after zooming / panning, you can set minimum and maximum.
__
Shashi Ranjan
Team CanvasJS
We are looking into it and we will get back at the earliest.
__
Shashi Ranjan
Team CanvasJS
It seems to be working fine even with date-time axis. Please take a look at this JSFiddle.
In case you’re still facing the issue, kindly share a JSFiddle reproducing the same issue and steps to reproduce the issue, so that we can try it at our end, understand your usecase better and help you out.
__
Shashi Ranjan
Team CanvasJS
This can be achieved using rangeChanged event handler.
Please take a look at this JSFiddle
—
Shashi Ranjan
Team CanvasJS
Minimum ans maximum of axis gets calculated automatically by the library. But in few cases of very small values, minimum gets calculated to lessthan 0. We will reconsider this behavior in out future releases. However you can workaround this by checking if there are any negative dataPoints or not, even incase of dynamic charts. Please take look at this updated JSFiddle.
In the JSFiddle that you have shared, y-values being used are very small. To avoid unwanted negative values you can set axisY minimum to 0.
Please take a look at this updated JSFiddle.
—
Shashi Ranjan
Team CanvasJS