| 
 PureBytes Links 
Trading Reference Links 
 | 
This is just scaling (converting price and date x,y to pixels)
Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message ----- 
From: "pierre8rou" <pierre8r@xxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Thursday, October 04, 2007 7:06 PM
Subject: [amibroker] Try to understand Exemple 4 from "Using low-level graphics functions".
> 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
> 
> 
> 
> Please note that this group is for discussion between users only.
> 
> To get support from AmiBroker please send an e-mail directly to 
> SUPPORT {at} amibroker.com
> 
> For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
> http://www.amibroker.com/devlog/
> 
> For other support material please check also:
> http://www.amibroker.com/support.html
> 
> Yahoo! Groups Links
> 
> 
> 
> 
>
Please note that this group is for discussion between users only.
To get support from AmiBroker please send an e-mail directly to 
SUPPORT {at} amibroker.com
For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/
For other support material please check also:
http://www.amibroker.com/support.html
 
Yahoo! Groups Links
<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/
<*> Your email settings:
    Individual Email | Traditional
<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)
<*> To change settings via email:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx
<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 
 |