Version

Create Multi-Line Chart Labels

In certain cases you may want to display chart labels over multiple lines. This topic shows how series labels and item label are displayed in separate lines using the FormatString property.

It is assumed that an ultraChart bound to a data source is dropped onto your form. For information on this please see the Data Sources topic.

In Visual Basic:

Me.ultraChart1.Axis.X.Labels.SeriesLabels.FormatString = "<SERIES_LABEL>" & Environment.NewLine & "<ITEM_LABEL>"

In C#:

this.ultraChart1.Axis.X.Labels.SeriesLabels.FormatString = "<SERIES_LABEL>" + Environment.NewLine + "<ITEM_LABEL>";
Images\WinChart Create Multi line Labels.png