This property lets you set margin between chart’s boundary and Axis.
Default: 2var chart = new CanvasJS.Chart("container",
{
.
.
axisX:{
title: "Title with Margin",
margin: 10,
},
.
.
});
chart.render();
Also See:
2 Comments
Can this be done with dates?
Nevermind, found it. IntervalType. Thanks!