Skip to main content

SmallChartText Class

Contains options of the text which is to be displayed in a chart, when it’s too small for its diagram to be drawn.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v24.2.dll

NuGet Package: DevExpress.Charts

Declaration

public class SmallChartText :
    NotificationBase

Remarks

An object of the SmallChartText type can be accessed via the ChartControl.SmallChartText (WebChartControl.SmallChartText) property.

Example

This example demonstrates how to provide a custom text for a chart, when it’s too small for its diagram to be drawn.

SmallChartText myText = chartControl1.SmallChartText;
myText.Antialiasing = true;
myText.Text = "Increase the chart's size, to view its layout.";
myText.TextColor = Color.Beige;
See Also