Webchart: Bar-Series width after zooming

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Woehr.Mi
Newbie
Newbie
Posts: 38
Joined: Mon Jun 23, 2008 12:00 am

Webchart: Bar-Series width after zooming

Post by Woehr.Mi » Tue Dec 09, 2008 9:05 am

Hello,

I'm using a Webchart with a Bar-Series and a ZoomTool in my current project. When I zoom-IN my Webchart, the space between the different Bars is larger than before. Is there any posibiliy to set the Bars width bigger (depending on the ZoomTools ZoomArea) when zooming in (to get the same space between the differnt bars than before).

Best regards
Michael

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Tue Dec 09, 2008 12:59 pm

Hi Michael,

You can try setting bar's BarWidthPercent property in TeeChart's AfterDraw event accordingly.

Hope this helps!
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply