AxisCollection Property
Contains a collection of calculated Axis objects.
Syntax
'Declaration Public ReadOnly Property AxisCollection As AxisCollection
'Usage Dim instance As Chart Dim value As AxisCollection value = instance.AxisCollection
public AxisCollection AxisCollection {get;}
Remarks
Axes added to this collection must be calculated from axes on the chart, otherwise they are ignored.
Example
//Using the built in axis calculation to convert units and add Fahrenheit temperature axis. Axis F=Chart.YAxis.Calculate("Fahrenheit", Temperature.Celsius,Temperature.Fahrenheit); F.Orientation = Orientation.Right; Chart.AxisCollection.Add(F); //For complete code see UnitConversion.aspx sample.
'Using the built in axis calculation to convert units and add Fahrenheit temperature axis. Dim F As Axis F=Chart.YAxis.Calculate("Fahrenheit", Temperature.Celsius,Temperature.Fahrenheit) F.Orientation = Orientation.Right Chart.AxisCollection.Add(F) 'For complete code see UnitConversion.aspx sample.
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also