Skip to main content

OptionsDataLabels

Namespace: Wisej.Web.Ext.ChartJS3

Assembly: Wisej.Web.Ext.ChartJS3

Represents the options for the data label.

public class OptionsDataLabels : OptionsBase

Constructors

Instance memberOptionsDataLabels()

Default constructor.

Instance memberOptionsDataLabels(owner)

Constructs a new instance of the OptionsDataLabel set.

NameTypeDescription
ownerOptionsBaseThe ChartJS3 that owns this set of options.

Properties

Instance memberAlign

DataLabelAlign: Specifies the default alignment for the chart's data labels. (Default: Center)

Instance memberAnchor

DataLabelAnchor: Specifies the default anchoring of the data labels. (Default: Center)

Instance memberBackgroundColor

Color: The background color of the data label. (Default: null)

Instance memberBorderColor

Color: The border color of the data label. (Default: null)

Instance memberBorderRadius

Int32: The radius of the data label's border. (Default: 0)

Instance memberBorderWidth

Int32: The width of the data label's border. (Default: 1)

Instance memberClamp

Boolean: Specifies if the anchor position should be calculated based on the visible geometry of the associated element (i.e. part inside the chart area). (Default: False)

Instance memberClip

Boolean: Specifies if the part of the label which is outside the chart area will be masked. (Default: False)

Instance memberColor

Color: Color of the data label.

Instance memberDisplay

Boolean: Show the data label. (Default: False)

Instance memberFont

Font: Font of the data label.

Instance memberOffset

Int32: Specifies the distance (in pixels) to pull the label away from the anchor point. (Default: 4)

Instance memberOpacity

Single: Specifies the opacity of the data labels.

Instance memberPadding

Padding: Specifies the padding on the data labels.

Instance memberRotation

Int32: Specifies the rotation of the data labels. (Default: 0)

Instance memberTextAlign

DataLabelTextAlignment: Specifies the text alignment for the data labels.

Instance memberTextShadowBlur

Int32: Specifies the blur value of the text's shadow. (Default: 0)

Instance memberTextShadowColor

Color: Specifies the color of the text's shadow. (Default: null)

Instance memberTextStrokeColor

Color: Specifies the stroke color of the data label text. (Default: null)

Instance memberTextStrokeWidth

Int32: Specifies the width of the stroke. (Default: 0)