Search results

DataLabel API in JavaScript Chart API control

The DataLabel module is used to render data labels for data points.

Methods

calculateStackLabel

This method is responsible for positioning the cumulative sum of stacking column series.

Parameter Type Description
positivePoints { : } | The positive points of the stacking series.
negativePoints { : } | The negative points of the stacking series.
stackLabelGroup Element The stack label group element.
stackLabelIndex number The index of the stack label.

Returns number

renderStackLabels

Renders the stack labels for the chart. This method is responsible for displaying cumulative total values on stacked chart segments.

Returns void