corelibraries-devexpress-dot-xtracharts-7c1cedd2.md
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.v25.2.dll
NuGet Package : DevExpress.Charts
public class SmallChartText :
NotificationBase
Public Class SmallChartText
Inherits 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 |
An object of the SmallChartText type can be accessed via the ChartControl.SmallChartText (WebChartControl.SmallChartText) property.
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;
Dim myText As SmallChartText = chartControl1.SmallChartText
myText.Antialiasing = True
myText.Text = "Increase the chart's size, to view its layout."
myText.TextColor = Color.Beige
Object ChartElement TitleBase Title MultilineTitle NotificationBase SmallChartText
See Also