Custom Columns: Question regarding Drawing Bars

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
autocart
Posts: 1422
Joined: 26 Sep 2013 15:22

Custom Columns: Question regarding Drawing Bars

Post 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

admin
Site Admin
Posts: 67271
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Custom Columns: Question regarding Drawing Bars

Post by admin »

Ha, good question! That was a copy-and-paste left-over from >draw.circle. A help file bug. :bug:

autocart
Posts: 1422
Joined: 26 Sep 2013 15:22

Re: Custom Columns: Question regarding Drawing Bars

Post by autocart »

Ok, thanks for the confirmation.

Post Reply