Search results

PivotChartDataLabelModel API in React Pivot Grid API component

Interface for a class PivotChartDataLabel

Properties

angle

number

Allows to specify the rotation angle to data label.

connectorStyle

PivotChartConnectorStyleModel

Allows custom connector of the pie, funnel, pyramid and doughnut chart data label.

enableRotation

boolean

Allows to set whether rotation to data label is enable or not.

fill

string

Allows to set the background color of the data label accepts value in hex and rgba as a valid CSS color string.

position

AccumulationLabelPosition

Allows to specify the position of the data label. They are,

  • Outside: Positions the label outside the point.
  • Inside: Positions the label on top of the point.

rx

number

Allows to set the roundedCornerX for the data label. It requires border values not to be null.

ry

number

Allows to set the roundedCornerY for the data label. It requires border values not to be null.

template

string

Allows custom template to show the data label. Use ${point.x} and ${point.y} as a placeholder text to display the corresponding data point.

visible

boolean

Allows to set the visibility of data label to the series renders.