Fires when the ticks are created to allow formatting of the tick values
Member of Line Chart (PRIM_CHRT.LineChart)
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 |
Fires when the ticks are created to allow formatting of the tick values.
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
LANSA Version 15, April 2020