scale_build_custom_label_text() function
Sets the text of the tick label descriptor when using custom labels Sets the text pointer when valid custom label is available, otherwise set it to NULL.
Arguments
obj
pointer to a scale object
label_dsc
pointer to the label descriptor
major_tick_idx
index of the current major tick