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 it Yourself by Editing the Code below.



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