Skip to main content

DataLabelAlign

Namespace: Wisej.Web.Ext.ChartJS

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

Alignment configuration for ChartJS datalabel. See: positioning.

public enum DataLabelAlign

Fields​

NameDescriptionValue
BottomThe label is positioned to the bottom of the anchor point (90°)
Center(default): the label is centered on the anchor point.
EndThe label is positioned after the anchor point, following the same direction.
LeftThe label is positioned to the left of the anchor point (180°)
RightThe label is positioned to the right of the anchor point (0°).
StartThe label is positioned before the anchor point, following the same direction.
TopThe label is positioned to the top of the anchor point (270°)

Used By​

NameDescription
OptionsDataLabel.AlignReturns or sets the default alignment of the data labels relative to the anchor point.