AxisTitle.MaxLineCount Property

Gets or sets the number of lines to which a title text is allowed to wrap.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v20.1.dll


public int MaxLineCount { get; set; }
Public Property MaxLineCount As Integer

Property Value

Type Description

An integer value which is the number of text lines. Should be greater than or equal to 0 and less than or equal to 20.


When the width of an axis title is limited by the width of the axis or if the title text contains new line characters, its text is split across multiple lines. In this case, the MaxLineCount property helps you control the number of text lines allowed when axis title is too lengthy.

Note that if a title length exceeds the limit defined by the MaxLineCount property, the last line of text will be cut off by an ellipsis. To force an axis title to fully display its contents without regard to the title size, set the MaxLineCount property to 0.

See Also