.netCHARTING v10.5 Documentation


dotnetCHARTING Namespace > Axis Class > AddCalculatedTick Method : AddCalculatedTick(String,Calculation) Method
A template for the resulting tick label.
Calculation to perform.
AddCalculatedTick(String,Calculation) Method
Adds an AxisTick with a value based on the specified Calculation using a template for the resulting label.
Syntax
'Declaration
 
Public Overloads Sub AddCalculatedTick( _
   ByVal labelTemplate As String, _
   ByVal calculation As Calculation _
) 
'Usage
 
Dim instance As Axis
Dim labelTemplate As String
Dim calculation As Calculation
 
instance.AddCalculatedTick(labelTemplate, calculation)
public void AddCalculatedTick( 
   string labelTemplate,
   Calculation calculation
)

Parameters

labelTemplate
A template for the resulting tick label.
calculation
Calculation to perform.
Remarks

The calculation will be based on all the series using this axis.

The %Value token in the template will be replaced with the resulting value.

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