ILNumerics Ultimate VS

TickCollectionDefaultLabelTransformFunc Field

ILNumerics Ultimate VS Documentation
ILNumerics - Technical Application Development
Default function used to transform tick positions into tick label texts. It applies a simple number transform, taking the current culture into account.

Namespace:  ILNumerics.Drawing.Plotting
Assembly:  ILNumerics.Drawing (in ILNumerics.Drawing.dll) Version: ILNumerics Ultimate VS 4
Syntax

public static readonly Func<int, float, string> DefaultLabelTransformFunc

Field Value

Type: FuncInt32, Single, String
Remarks

The Func defines the following input parameters:

Index (int) - the index of the tick within the collection of all visible ticks; 0-based indexingThe position value (float) - number used to position the tick along the axis scale

The function returns a string which is directly used to display the tick. It is per default used by

LabelTransformFunc
.

In order to control the creation of tick labels and/or to implement custom tick filters, one may assign a custom (anonymous) function to

LabelTransformFunc
.

See Also

Reference