HTML Chart Control

Leader Lines for Pie Charts

When the chart panel is small, add-in managers may want to optimize the use of chart screen space.

  • They can use the <dataAxis> option labelPosition="insideWithCallout" which draws the label inside the pie, provided that it fits, or as a callout if it does not fit.
  • They can set labelPosition="none" to not display any labels.

Set the callout gap value, which will define how much space, in pixels, to insert between the edge of the pie and the data labels when rendering callouts. The default is value is 10.

AXVW:

Add a <dataAxis> parameter " calloutGap={a_number} ".

Java Script:

chartPanel.setCalloutGap(gapNumber);

Define the size threshold, expressed in points, below which inside data labels are considered illegible. Below this threshold, data labels are either removed entirely or turned into callouts based upon the setting of the series labelPosition property. The default is 9.

AXVW:

Add a <dataAxis> parameter "insideLabelSizeLimit={a_number} ".

Java Script:

chartPanel.setInsideLabelSizeLimit(sizeLimit);