Gets or sets the maximum width of an element, in pixels. This property is applicable for Legend, AxisY (Primary and Secondary) and its AxisLabels element only.
Type: Double
Namespace: Visifire.Charts
Assembly:
Silverlight: |
SLVisifire.Charts (in SLVisifire.Charts.dll) |
WPF: |
WPFVisifire.Charts (in WPFVisifire.Charts.dll) |
Windows Phone: |
SLWpVisifire.Charts (in SLWpVisifire.Charts.dll) |
Windows 8: |
Win8Visifire.Charts (in Win8Visifire.Charts.dll) |
This attribute applies to:
Syntax:
<vc:Chart ... >
<vc:Chart.Legends>
<vc:Legend MaxWidth="200"/>
</vc:Chart.Legends>
</vc:Chart>
Below is the chart after setting MaxWidth property in Legend.

Remarks:
Default value of MaxWidth is System.Double.PositiveInfinity.
This value can be any value equal to or greater than 0.