Beta version of GLCD library version 3

#include <glcd.h>
#include "fonts/Arial14.h"         // proportional font
#include "fonts/SystemFont5x7.h"   // system font
#include <Wire.h> // initialize wire
#include "nunchuck_funcs.h"

int loop_cnt=0;

byte accx;

void setup()
{
  Serial.begin(19200);
  nunchuck_setpowerpins();
  nunchuck_init();
  GLCD.Init(NON_INVERTED);
  GLCD.SelectFont(System5x7);
  Serial.print("Wii nunchuck ready");
GLCD.DrawHLine(0, 32, 127); // horizontal line
}

void loop()
{
   if( loop_cnt > 100 ) { 
        loop_cnt = 0;

        nunchuck_get_data();

        accx  = nunchuck_accelx(); 

       Serial.println((byte)accx,DEC);
    
    
        GLCD.CursorTo(5,5);
        GLCD.println((byte)accx,DEC);
       
    }
    loop_cnt++;
    delay(1);
}

Ive been playing around with code for a few hours and got the nunchuck value to print from 73 to 184 or 185 the same in the serial.
At around 130 the value of accx is level.
My question is which im completely stumbled on is read a value from accx and depending on which state it is in draw a line (like a tilt plain) from level to be at 0, 32. if tilted to the right itd draw a line from 0,0 to 127,63. if tilted from left itd draw a line from 127,0 to 0,63.