Patrick,

No, it is not on to-do list. 
Low-level graphics uses pixels because it is natural co-ordinate system on the 
computer.

You can easily transform from your "values" to pixels using linear 
transformation:

MinY = ...your minimum y
MaxY = ...your maximum Y
MinX = ...your minimum X
MaxX = ...your maximum X

function GetPixelY( value )
{
 global MinY;
 global MaxY;

 return Status("pxheight") * ( value - MinY ) / (MaxY - MinY);
}


function GetPixelX( value )
{
 global MinX;
 global MaxX;

 return Status("pxwidth") * ( value - MinX ) / (MaxX - MinX);
}



Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message ----- 
From: "vlanschot" <[EMAIL PROTECTED]>
To: <amibroker@yahoogroups.com>
Sent: Sunday, October 07, 2007 12:55 PM
Subject: [amibroker] Re: Looking for Gfx XY Charting template


> Herman, sorry that this won't help you, but I think many people, like 
> myself who've experimented with the custom charting functions, are 
> waiting for TJ to upgrade this functionality to chart along specified 
> values of the variables, instead of (currently the non-intuitive) 
> screen pixels. My guess is that this is why you see so few Gfx 
> examples, whereas potentially it's such a great tool. Fortunately, 
> unless I'm misinformed, this is on TJ's "to-do" list (along with 
> 15000000000000 other enhancements ;-)).
> 
> PS
> 
> 
> 
> 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
> 
> 
> 
> 
>

Reply via email to