indexLabelLineDashType: String

Sets the Dash Type for indexLabel’s line. It is applicable only for pie and doughnut charts when indexLabelPlacement is set to “outside”. For other chart-types, indexLabelLineThickness should be set greater than zero.


Default: solid
Example: “dot”, “dash”, etc.

Supported Line Dash Types:

  • “solid”
  • “shortDash”
  • “shortDot”
  • “shortDashDot”
  • “shortDashDotDot”
  • “dot”
  • “dash”
  • “dashDot”
  • “longDash”
  • “longDashDot”
  • “longDashDotDot”

Note
  • By default supported only by Pie / Doughnut Chart types.
  • For other chart-types, indexLabelLineThickness should be set grater then zero.
  • It overrides indexLabelLineDashType of dataSeries.

var  chart =  new  CanvasJS.Chart("container",
{
 .
 .
	data: [
	{
		type: "pie",
		dataPoints : [
			{y: 10, indexLabelLineDashType:  "dash" }
		] 
	},
	]
 .
 . 
});
chart.render();


Try it Yourself by Editing the Code below.



In order to provide better support,we have closed the comments and switched completely to our Forums.
If you have any questions, please feel free to ask in our forums.