AxisMaximum

Gets or Sets the maximum limit for the Axis.

 

Type: Object

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.AxesX>

<vc:Axis AxisMaximum="9" />

</vc:Chart.AxesX>

 

<vc:Chart.AxesY>

<vc:Axis AxisMaximum="12" />

</vc:Chart.AxesY>

</vc:Chart>

 

Below is the chart after setting AxisMaximum property in Axis.

 

axismaximum.jpg

 

 

Remarks:

  1. Takes any double value (for numeric axis) or DateTime value (for DateTime axis). But care must be taken that the value must always be greater then the largest value for the axis in the DataPoints. For e.g., if the largest XValue in the DataPoints is 10, then AxisMaximum for the axis defined inside Chart.AxesX tag should have the Axis with XValue greater than or equal to 10.

  2. The default value is automatically calculated from the DataPoints. Hence users need not set this value.