Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Properties

Optional color

color: string

Sets the color for data labels. Defaults to axis label color

Optional isEnabled

isEnabled: boolean

Flag to enable/disable dataLabel generation. Default true

Optional metaDataSelector

metaDataSelector: (metadata: IPointMetadata) => string

If this is set it will be used to get text values from metaData, rather than formatting y values. The selector will be called even if the metaData for an index is undefined.

Type declaration

Optional numericFormat

numericFormat: ENumericFormat

Gets or sets numeric format to use for formatting values to text. For a list of values, see ENumericFormat

Optional precision

precision: number

Gets or sets the precision to use when formatting values to text.

Optional style

Sets the text style used for data labels. The style must be set, with fontFamily and fontSize set, in order for text to be drawn.

Generated using TypeDoc