You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Bar Chart - FormatTick Event
Fires when the ticks are created to allow formatting of the tick values
Member of Bar Chart (PRIM_CHRT.BarChart)

Parameters

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

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