See Also

Chart Class  | Chart Members

Language

Visual Basic

C#

Show All

See Also Languages dotnetCHARTING Send comments on this topic.

AxisCollection Property

Contains a collection of calculated Axis objects.

[Visual Basic]
Public ReadOnly Property AxisCollection As AxisCollection
[C#]
public AxisCollection AxisCollection {get;}

Remarks

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

Example

[C#] 

//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 Basic] 

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

See Also

Chart Class  | Chart Members

 

 


2002 - 2005 Webavail Productions Inc. & Corporate Web Solutions Ltd.. All Rights Reserved.