Too many bars in bar chart

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Neelam
Advanced
Posts: 193
Joined: Fri Jun 08, 2007 12:00 am

Too many bars in bar chart

Post by Neelam » Tue Nov 11, 2008 1:38 pm

Hi
i have a bar chart and it works fine. But when there are lot of bars then the x axis labels do not sow up correctly. That is they overlap each other due to lack of space and show up partly or some do not show up. How to handle this? Thanks in advance.

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 Nov 11, 2008 1:48 pm

Hi shikha,

Could you please send us a simple example project we can run "as-is" to reproduce the problem here and let us know the exact TeeChart version you are using?

You can either post your files at news://www.steema.net/steema.public.attachments newsgroup or at our upload page.

Thanks in advance.
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

Neelam
Advanced
Posts: 193
Joined: Fri Jun 08, 2007 12:00 am

Post by Neelam » Tue Nov 11, 2008 2:25 pm

Unfortunately I dont have any such ready which i can upload( the one i have i can not upload). But i will try to describe it again, may be that helps. If I try this
tcStraAssessRC.Axes.Bottom.Labels.Angle = 90

then all x axis labels appear but then it makes bars and yaxis scale too small to fit chart in fixed area(as the vertical x axis labels take too much space). So what can be alternative?Thanks in advance

Neelam
Advanced
Posts: 193
Joined: Fri Jun 08, 2007 12:00 am

Post by Neelam » Tue Nov 11, 2008 2:27 pm

basically i have bar chart which has too much data and a fixed area. So the labels below bars(x axis labels) cross each other. If i set tcStraAssessRC.Axes.Bottom.Labels.Angle = 90 then they all get displayed but then they occupy too much space. Any other solution ?

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 Nov 11, 2008 4:50 pm

Hi shikha,

TeeChart tries to plot as many labels as possible in the axes according to their Increment property and not allowing labels to overlap. In that case I strongly recommend you to read this thread. Please notice this is quite a long thread (has several pages) and what you are looking for may not appear in the first posts. However, several possibilities were discussed there and it covers a lot of ground on that area.

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