labelAlign: String

labelAlign allows you to place the stripline’s Label far, center or near the axis.

Default: “far”
Options: “far”, “center”, “near”
var  chart =  new  CanvasJS.Chart("container",
{
 .
 .
axisX:{
    stripLines: [{
        .
        labelPlacement: "inside",
        labelAlign: "far"
        .
    }]
},
 .
 .
});
chart.render();

Try Editing The Code


If you have any questions, please feel free to ask in our forums.Ask Question