Skip to main content
All docs
V26.1
  • Chart.TextProperties Property

    Gets or sets text formatting properties for chart elements (for example, labels and legends). You can override these properties for specific chart elements (for example, for the legend) via the corresponding properties of these elements.

    Namespace: DevExpress.Docs.Presentation

    Assembly: DevExpress.Docs.Presentation.v26.1.dll

    Declaration

    public TextProperties TextProperties { get; set; }

    Property Value

    Type Description
    TextProperties

    Chart text formatting properties.

    Remarks

    The following code snippet specifies text formatting properties for all chart elements:

    DevExpress Presentation API - Chart Text Properties

    chart.TextProperties = new TextProperties { Fill = new SolidFill (Color.Magenta), FontSize = 30 };
    
    See Also