Setting logarithmic property to true changes axis scale to logarithmic scale. Default Logarithm Base is 10 – which you can customize using logarithmBase property.
Default: false
- var chart = new CanvasJS.Chart("container",
- {
- .
- .
- axisX:{
- .
- .
- logarithmic: true
- .
- .
- },
- .
- .
- });
- chart.render();
Also See: