Is there any way to change the scale? My values are between 0 and 100, so naturally i would like to have the maximum and minum accordingly to that.
The scale of the Graph area is by Pixels you define under Attributes X Y W H.
In your program scale according to graph height.
ie If your scale on screen is 200 H the multiply your output with the 2 before sending to the screen.
if H is 150 the Multiply with 1.5.