Page 1 of 1

Custom Columns: Question regarding Drawing Bars

Posted: 31 Oct 2021 22:30
by autocart
Hi all, Don,
This is a question that maybe only Don can answer?
The help says the following about Custom Columns:
Help wrote:Drawing Bars: The Icon format also lets you draw column-wide 2-colored percentage bars of your own design. The column has to be of type "Script" and format "Icon", and instead of the icon specification you return a draw command with the following syntax:

>draw.bar [percentage=50], [colorleft], [colorright], [opacity=224], [borderwidth=0]
· The Percentage controls the relative size of left and right part.
· Color for left and right part is given in RRGGBB format.
· If a color argument is omitted that part is not drawn at all.
· If both color arguments are omitted then hard-coded default blues take over.
· Opacity is from 1 (almost totally transparent) to 255 (fully opaque).
· If Borderwidth is > 0 then the bar is not filled but outlined.
· More than one definition can be passed, separated by ; (semicolon) or CRLF (line feed).
· Works also with Extra Tags of type "Icon".
I emphazised the 2nd to the last item in the list. This is what i wonder about.
What good can it do to pass more than one draw.bar definition?
I tried it out but I can not see what good it does? MTIA

Re: Custom Columns: Question regarding Drawing Bars

Posted: 03 Nov 2021 11:53
by admin
Ha, good question! That was a copy-and-paste left-over from >draw.circle. A help file bug. :bug:

Re: Custom Columns: Question regarding Drawing Bars

Posted: 03 Nov 2021 11:55
by autocart
Ok, thanks for the confirmation.