Sets the logarithm base for Axis X. Works only when logarithm property is set to true.
Default: 10var chart = new CanvasJS.Chart("container",
{
.
.
axisX:{
.
.
logarithmic: true,
logarithmBase: 2,
.
.
},
.
.
});
chart.render();
Also See: