PureBytes Links
Trading Reference Links
|
Today I will provide another Low-level gfx example that will
show some techniques.
Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message -----
From: "vlanschot" <vlanschot@xxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Monday, October 08, 2007 10:01 AM
Subject: [amibroker] Re: Looking for Gfx XY Charting template
> Guess it was wishful thinking on my part, but I could swear I had
> seen you mentioning it earlier this year, as I refer to it in message
> #111849 for example (but obviously can't find your mail anymore).
>
> Thx for the functions though.
>
> PS
>
> --- In amibroker@xxxxxxxxxxxxxxx, "Tomasz Janeczko" <groups@xxx>
> wrote:
>>
>> 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" <vlanschot@xxx>
>> To: <amibroker@xxxxxxxxxxxxxxx>
>> 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
>> >
>> >
>> >
>> >
>> >
>>
>
>
>
>
> 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/
|