labelAngle: Number

Sets the angle of labels for the axisX stripline when labels are placed outside.

Default: 0
Example: 20, 45, -30 ..
Notes
  • Units in degrees
  • Values can be positive or negative
var  chart =  new  CanvasJS.Chart("container", {
 .
 .
 axisX:{
	stripLines: [
		{
		 labelAngle: 90
		}
	]
   },
 .
 . 
});
chart.render();

Try Editing The Code


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