.netCHARTING v10.5 Documentation


dotnetCHARTING Namespace > Axis Class > Calculate Method : Calculate(String,Object,Object) Method
Name of the new axis.
Units to convert from.
Units to convert to.
Calculate(String,Object,Object) Method
Obtains a copy instance of this Axis and performs unit conversion for it's tick values based on the specified units.
Syntax
'Declaration
 
Public Overloads Function Calculate( _
   ByVal name As String, _
   ByVal convertFromUnit As Object, _
   ByVal convertToUnit As Object _
) As Axis
'Usage
 
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)

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