MindFusion.Charting for WPF Programmer's Guide
AxesChart.XAxes Property
See Also
 





Gets setttings for all X axes of the chart.

Namespace: MindFusion.Charting.Wpf
Assembly: MindFusion.Charting.Wpf

 Syntax

C#  Copy Code

public AxesCollection XAxes { get; set; }

Visual Basic  Copy Code

Public Property XAxes As AxesCollection

 Property Value

A strongly typed collection of Axis objects.

 Remarks

When customizing Axis in XAML assign a whole collection to the property. This will reset it and clear any default Axis that might have been added.

XAML  Copy Code

<chart:AxesCollection>
     <chart:Axis MinValue="0" MaxValue="100" Interval="10" LabelType="AutoScale" LabelRotationAngle="40.0"></chart:Axis>
</chart:AxesCollection>

When working in code you should also clear the predefined axes:

C#  Copy Code

barChart1.XAxes.Clear();

 

 See Also

AxesChart Members
AxesChart Class
MindFusion.Charting.Wpf Namespace