MindFusion.Charting Programmer's Guide

Chart.LegendWordWrap Property

See Also
 





Gets or sets whether the words of the legend labels are wrapped.

Namespace: MindFusion.Charting
Assembly: MindFusion.Charting

 Syntax

C#  Copy Code

public bool LegendWordWrap { get; set; }

Visual Basic  Copy Code

Public Property LegendWordWrap As Boolean

 Property Value

A bool value that specifies whether legend words are wrapped.

 Remarks

When the legend labels are too long they might be automatically broken into several lines. If LegendWordWrap is set to true, only whole words are drawn at each line. In this case, provide enough space for the words to be drawn in order to avoid overlapping of labels.

The property for setting the width of the legend is LegendWidth.

Default value for the LegendWordWrap property is false.

 See Also