MaxHeight

Gets or sets the maximum height of an element, in pixels. This property is applicable for Legend, AxisX 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)

 

This attribute applies to:

 

Syntax:

<vc:Chart ... >

<vc:Chart.Legends>

<vc:Legend MaxHeight="10"/>

</vc:Chart.Legends>

</vc:Chart>

 

Below is the chart after setting MaxHeight property in Legend.

 

 

 

Remarks:

  1. Default value of MaxHeight is System.Double.PositiveInfinity.

  2. This value can be any value equal to or greater than 0.