Line Chart - FormatTick Event

Fires when the ticks are created to allow formatting of the tick values

Member of Line Chart (PRIM_CHRT.LineChart)

Parameters

Name

Type

Data Type

Description

Label

*Both

Unicode String

Label that is displayed as the tick

Value

*Input

Decimal

value that of the tick

Axis

*Input

Enumeration

Axis that is being formatted

Details

Fires when the ticks are created to allow formatting of the tick values.

Example

In this example shows changing the tick for the primary axis to show the values as a percent and the secondary axis as dollars.

     Evtroutine Handling(#Chart.FormatTick) Value(#Value) Label(#Label) Axis(#Axis) 

If (#Axis = PRIMARY)

#Label := #Value.AsString + '%'

Else

#Label := '$' + #Value.AsString

Endif

Endroutine

See also

All Component Classes

Technical Reference

  • No labels