dotnetCHARTING Send comments on this topic.
Calculate(String,Object,Object) Method
See Also 
dotnetCHARTING Namespace > Axis Class > Calculate Method : Calculate(String,Object,Object) Method


name
Name of the new axis.
convertFromUnit
Units to convert from.
convertToUnit
Units to convert to.
Obtains a copy instance of this Axis and performs unit conversion for it's tick values based on the specified units.

Syntax

Visual Basic (Declaration)  
Public Overloads Function Calculate( _
   ByVal name As String, _
   ByVal convertFromUnit As Object, _
   ByVal convertToUnit As Object _
) As Axis
Visual Basic (Usage) Copy Code
Dim instance As Axis
Dim name As String
Dim convertFromUnit As Object
Dim convertToUnit As Object
Dim value As Axis
 
value = instance.Calculate(name, convertFromUnit, convertToUnit)
C#  
public Axis Calculate( 
   string name,
   object convertFromUnit,
   object convertToUnit
)

Parameters

name
Name of the new axis.
convertFromUnit
Units to convert from.
convertToUnit
Units to convert to.

Return Value

A new calculated instance of this axis.

See Also