labelBackgroundColor: String

Sets the background color of stripLine’s label.


Default: “transparent”
Example: “red”,”#fabd76″

var  chart =  new  CanvasJS.Chart("container",
{
 .
 .
axisY:{
    stripLines: [{
        .
        labelBackgroundColor:"black",
        .
    }]
},
 .
 .
});
chart.render();


Try it Yourself by Editing the Code below.

  Also See:    



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