Page 1 of 1

Too many bars in bar chart

Posted: Tue Nov 11, 2008 1:38 pm
by 13045482
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.

Posted: Tue Nov 11, 2008 1:48 pm
by narcis
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.

Posted: Tue Nov 11, 2008 2:25 pm
by 13045482
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

Posted: Tue Nov 11, 2008 2:27 pm
by 13045482
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 ?

Posted: Tue Nov 11, 2008 4:50 pm
by narcis
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!