@jsfkit/types
    Preparing search index...

    Type Alias ChartDataLabels

    Data labels for a plot or series.

    type ChartDataLabels = {
        leaderLines?: Line;
        numberFormat?: string;
        position?: ChartDataLabelPosition;
        separator?: string;
        shape?: Shape;
        show?: ChartDataLabelContent[];
        showLeaderLines?: boolean;
        sourceLinked?: boolean;
        textStyle?: ChartTextStyle;
    }
    Index

    Properties

    leaderLines?: Line

    Style of the leader lines. By default, they're 0.75pt tx1 35%/65%.

    numberFormat?: string

    Excel number format code for label values. When sourceLinked is true, the labels follow the source data's format instead, and this is only a fallback.

    "General"
    

    Where labels sit relative to their points. When absent, the chart type's default applies.

    separator?: string

    Separator between the parts of a label.

    ", "
    
    shape?: Shape

    Fill and outline of the labels. By default, there are none.

    What each label shows. An empty list hides the labels.

    showLeaderLines?: boolean

    Whether leader lines connect labels that have moved away from their points.

    false
    
    sourceLinked?: boolean

    Whether the number format follows the source data.

    true
    
    textStyle?: ChartTextStyle

    Text style of the labels. It merges over the style of the labels these override, and then cascades like other text. By default, labels are 9pt tx1 75%/25% in the minor font. See ChartTextStyle.