.netCHARTING v10.5 Documentation


dotnetCHARTING Namespace > Axis Class > AddCalculatedTick Method : AddCalculatedTick(String,Calculation,SeriesCollection) Method
A template for the resulting tick label.
Calculation to perform.
SeriesCollection to perform the calculation on.
AddCalculatedTick(String,Calculation,SeriesCollection) 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, _
   ByVal series As SeriesCollection _
) 
'Usage
 
Dim instance As Axis
Dim labelTemplate As String
Dim calculation As Calculation
Dim series As SeriesCollection
 
instance.AddCalculatedTick(labelTemplate, calculation, series)
public void AddCalculatedTick( 
   string labelTemplate,
   Calculation calculation,
   SeriesCollection series
)

Parameters

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

The calculation will be based on the specified SeriesCollection.

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