Give specific band color

TeeChart for JavaScript for the HTML5 Canvas
Post Reply
shaw
Newbie
Newbie
Posts: 1
Joined: Thu May 30, 2013 12:00 am

Give specific band color

Post by shaw » Wed Oct 09, 2013 12:38 pm

Hi Teechart Team,
I just wondering is there some way to use different colors for some specific bands. Currently, I find only one color is supported. Thanks!
BR,
Shaw

Yeray
Site Admin
Site Admin
Posts: 9613
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Give specific band color

Post by Yeray » Fri Oct 11, 2013 8:47 am

Hi,

I'm afraid the ColorBand tool supported in the other TeeChart versions isn't still available in TeeChart Javascript.
However, you can always use the Chart ondraw or the Chart Series.beforeDraw events to manually draw the shapes or rectangles you wish, as in the example here.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply