Back to Devexpress

SmallChartText Class

corelibraries-devexpress-dot-xtracharts-7c1cedd2.md

latest2.8 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Charts

Declaration

csharp
public class SmallChartText :
    NotificationBase
vb
Public Class SmallChartText
    Inherits NotificationBase

The following members return SmallChartText objects:

LibraryRelated API Members
WinForms ControlsChartControl.SmallChartText
ASP.NET MVC ExtensionsChartControlSettings.SmallChartText
ASP.NET Web Forms ControlsWebChartControl.SmallChartText
.NET Reporting ToolsXRChart.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.

csharp
SmallChartText myText = chartControl1.SmallChartText;
myText.Antialiasing = true;
myText.Text = "Increase the chart's size, to view its layout.";
myText.TextColor = Color.Beige;
vb
Dim myText As SmallChartText = chartControl1.SmallChartText
myText.Antialiasing = True
myText.Text = "Increase the chart's size, to view its layout."
myText.TextColor = Color.Beige

Inheritance

Object ChartElement TitleBase Title MultilineTitle NotificationBase SmallChartText

See Also

SmallChartText Members

EmptyChartText

DevExpress.XtraCharts Namespace