Menu

HBar and VBar usage confusion

Help
2016-04-11
2016-04-13
  • Michelle Dupuis

    Michelle Dupuis - 2016-04-11

    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
    • Martin Tharby Jones

      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:

      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?


      HBar and VBar usage confusion
      https://sourceforge.net/p/lcdproc/discussion/312/thread/b909164f/?limit=25#ea8c


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/lcdproc/discussion/312/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       
  • Michelle Dupuis

    Michelle Dupuis - 2016-04-12

    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)

     

Log in to post a comment.