AxisOffset is used to set a constant gap at the left and right side of AxisX depending upon the Axis width. As an example, if the width of x-axis is 334 pixels and AxisOffset property is set to 0.15 (15% of the width of the x-axis) then x-axis will provide 334 * 0.15 = 50.1 pixels gap at left and right side. This property is applicable for AxisX 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.AxesX>
<vc:Axis AxisOffset="0.15"/>
</vc:Chart.AxesX>
</vc:Chart>
Below is the chart after setting AxisOffset property in AxisX.

Remarks:
The default value is NaN.
The value for AxisOffset property should be greater than 0 and less than 0.5.
If AxisOffset property is not set, default gap will be calculated automatically at the start and end of AxisX.