hbar x y length
Displays a horizontal bar starting at position (x,y) that is
length pixels wide.
vbar x y length
Displays a vertical bar starting at position (x,y) that is
length pixels high.
The starting position is the character that displays the bottom or left
most part of the bar. The bar is drawn using as many characters as are
required to show the specified length. Try the following command for an
example that displays detailed CPU Usage and a load histogram.
I'll start by saying new users could probably figure this out by digging
into the code...but this might be an opportunity to improve the
documentation. :)
The HBar and VBar settings have an x and y which specify which character
to fill with the bar (I assume). But what is the length_in_pixels
parameter? For an HBar am I specifying how many pixels WIDE the graph is
max (inside the character)? For a VBar am I specifying how max pixels TALL
the graph is (inside the character)?
Perhaps unrelated, but can I make an VBar that is 1 character wide by 2
characters tall? Does the x and y represent the BOTTOM of the VBar or the
TOP?
THanks - so it looks like LCDproc will extend the graph above 1 character (for vbar) or right beyong 1 character (for hbar). Is it possible to make a vbar that 2 chars wide by X chars tall? (or do I have to place to 1 chars wide VBars next to each other)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
THanks - so it looks like LCDproc will extend the graph above 1 character
(for vbar) or right beyong 1 character (for hbar). Is it possible to make a
vbar that 2 chars wide by X chars tall? (or do I have to place to 1 chars
wide VBars next to each other)
Can I make an VBar that is 1 character wide by 2 characters tall? Or do I manually assemble a multichar graph out of many bars?
Last edit: Michelle Dupuis 2016-04-11
The LCDd.8 man page states:
hbar x y length
Displays a horizontal bar starting at position (x,y) that is
length pixels wide.
vbar x y length
Displays a vertical bar starting at position (x,y) that is
length pixels high.
The starting position is the character that displays the bottom or left
most part of the bar. The bar is drawn using as many characters as are
required to show the specified length. Try the following command for an
example that displays detailed CPU Usage and a load histogram.
lcdproc C L
Martin
On Mon, 11 Apr 2016 at 17:53 Michelle Dupuis ocgltd@users.sf.net wrote:
THanks - so it looks like LCDproc will extend the graph above 1 character (for vbar) or right beyong 1 character (for hbar). Is it possible to make a vbar that 2 chars wide by X chars tall? (or do I have to place to 1 chars wide VBars next to each other)
The bars are only one character wide or tall, if you want more you will
need to place them side by side.
Martin
On Tuesday, 12 April 2016, Michelle Dupuis ocgltd@users.sf.net wrote: