The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



UserTickText


Unit:SDL_scale
Class:TScale
Declaration:property UserTickText: string;

The property UserTickText specifies the user defined tick labels which are displayed if the property LabelType is set to ftUserText. The tick labels are stored in the property UserTickText as a single string. The individual tick labels are separated by the pipe symbol '|'. Note that the last label is repeated on the displayed x axis if there are more (major) tick marks than labels. In order to prevent the repetition of the last label you have to add a terminating | symbol to the UserTickText property.

Hint: User defined tick labels do not make sense if you allow the chart being panned or zoomed. A better alternative to UserTickText is the OnScaleTickDrawn event.



Last Update: 2023-Dec-13