dotnetCHARTING Send comments on this topic.
AxisCollection Property
See Also  Example
dotnetCHARTING Namespace > Chart Class : AxisCollection Property


Contains a collection of calculated Axis objects.

Syntax

Visual Basic (Declaration) 
Public ReadOnly Property AxisCollection As AxisCollection
Visual Basic (Usage)Copy Code
Dim instance As Chart
Dim value As AxisCollection
 
value = instance.AxisCollection
C# 
public AxisCollection AxisCollection {get;}

Example

C#Copy Code
//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.
    
Visual BasicCopy Code
'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.

Remarks

Axes added to this collection must be calculated from axes on the chart, otherwise they are ignored.

See Also

© 2010 All Rights Reserved.