Hi,

Try to understand Exemple 4 from "Using low-level graphics functions".
And more specially this code :

for( i = 0; i < TotalBars AND i < ( BarCount - fvb ); i++ ) 
{ 
   x = 5 + i * (pxwidth - axisarea - 10) / ( TotalBars + 1 ); 
   y = 5 + ( C[ i + fvb ] - Miny ) * ( pxheight - 10 )/ ( Maxy - Miny ); 
  GfxRectangle( x - 1, pxheight - y - 1, x + 2, pxheight - y + 2);
} 

Thanks,

Pierre

Reply via email to