[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] Re: Multi-Colored Chart Backgrounds



PureBytes Links

Trading Reference Links

Aron, Great job on the three color gradient. I have been playing with
your code and can't seem to code the center color so it blends into
the top and bottom (much like the top and bottom color blend). Right
now, as the code is written, it shows the center color as more of a
tighter range of blend than the top and bottom. 

In other words, the center color is more focused in on the center. I
hope I am explaining this correctly. I certainly can live with the
code the way it is written but if you have a way to "open" up the
center color so it blends more like the top and bottom, I would
appreciate the help. Thanks again. Wally 


--- In amibroker@xxxxxxxxxxxxxxx, Aron <apforex@xxx> wrote:
>
> |Try this:
> 
> pxwidth = Status("pxwidth");
> pxheight = Status("pxheight");
> GfxSetBkMode( 1 ); // set transparent mode
> GfxSetOverlayMode(1);
> GfxGradientRect(0,0,pxwidth, pxheight/2, *colorLime*, *colorYellow* );
> GfxGradientRect(0,pxheight/2,pxwidth, pxheight,  *colorYellow* 
> ,*colorBlue*);
> |
>



------------------------------------

**** IMPORTANT ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

*********************
TO GET TECHNICAL 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/