BarLabelType

BarLabelType is a type of enumerator that describes the options available for controlling the position of a label displayed for a bar represented by an instance of SimpleBar. The code required is shown in Figure 17-12.

Each enumerator option in BarLabelType will be used in the {internal-render-text} method of the SimpleBar class to determine the layout position of the text relative to the coordinates of the bar. For more information about how this works, refer to the {internal-render-text} method discussed previously in this chapter.

Get Enterprise Curl now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.