Bar Chart - FormatTick Event
Fires when the ticks are created to allow formatting of the tick values
Member of Bar Chart (PRIM_CHRT.BarChart)
Name |
Type |
Data Type |
Description |
Label |
*Both |
Unicode String |
Label that is displayed as the tick |
Value |
*Input |
Decimal |
value of the tick |
Axis |
*Input |
Enumeration |
Azis 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
All Component Classes
Technical Reference