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

The following members return SmallChartText objects:

Library Related API Members
WinForms Controls ChartControl.SmallChartText
ASP.NET MVC Extensions ChartControlSettings.SmallChartText
ASP.NET Web Forms Controls WebChartControl.SmallChartText
.NET Reporting Tools XRChart.SmallChartText

#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