.netCHARTING v10.5 Documentation


dotnetCHARTING Namespace > Axis Class > Calculate Method : Calculate(String,Object,Object,Boolean) Method
Name of the new axis.
Unit to convert from.
Unit to convert to.
If true, the axis ticks will not necessarily match the original ticks. They will have their own appropriate interval and be easier to read in many cases.
Calculate(String,Object,Object,Boolean) 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, _
   ByVal refreshScale As Boolean _
) As Axis
'Usage
 
Dim instance As Axis
Dim name As String
Dim convertFromUnit As Object
Dim convertToUnit As Object
Dim refreshScale As Boolean
Dim value As Axis
 
value = instance.Calculate(name, convertFromUnit, convertToUnit, refreshScale)

Parameters

name
Name of the new axis.
convertFromUnit
Unit to convert from.
convertToUnit
Unit to convert to.
refreshScale
If true, the axis ticks will not necessarily match the original ticks. They will have their own appropriate interval and be easier to read in many cases.

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