OptionsDataLabel

Wisej.Web.Ext.ChartJS.OptionsDataLabel

Namespace: Wisej.Web.Ext.ChartJS

Assembly: Wisej.Web.Ext.ChartJS (3.2.0.0)

Represents the options for the data label.

public class OptionsDataLabel : OptionsBase

Constructors

OptionsDataLabel()

Default constructor.

OptionsDataLabel(owner)

Constructs a new instance of the OptionsDataLabel set.

Name
Type
Description

owner

The ChartJS that owns this set of options.

Properties

Align

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

Anchor

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

BackgroundColor

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

BorderColor

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

BorderRadius

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

BorderWidth

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

Clamp

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)

Clip

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

Color

Color: Color of the data label.

Display

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

Font

Font: Font of the data label.

Offset

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

Opacity

Single: Specifies the opacity of the data labels.

Padding

Padding: Specifies the padding on the data labels.

Rotation

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

TextAlign

DataLabelTextAlignment: Specifies the text alignment for the data labels.

TextShadowBlur

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

TextShadowColor

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

TextStrokeColor

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

TextStrokeWidth

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

Last updated

Was this helpful?