Skip to main content
A newer version of this page is available. .

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.v20.1.dll

NuGet Packages: DevExpress.Charts, DevExpress.WindowsDesktop.Charts

Declaration

public class SmallChartText :
    NotificationBase

The following members return SmallChartText objects:

Library Related API Members
WinForms Controls ChartControl.SmallChartText
SnapChart.SmallChartText
Reporting XRChart.SmallChartText
ASP.NET Web Forms Controls ChartControlSettings.SmallChartText
WebChartControl.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