Hi
I have a bar chart and I set the Chart.Axes.Bottom.Labels.Angle = 90
but I find that not all the labels are there . I want a label on every bar. It seems like the size of the text also influences the gap but it should be so because the labels are vertical not horizontal.
See attached image
Thanks
Not all labels are visible on Bottom Axis
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Hi Narcis
I didnt really find what I was looking for in the threads.
As I said , my problem is that I AM working with 90 degrees angle but still I only see a few labels and not all the labels .
The funny thing also is that the number of labels depends on the length of the label. if the text is smaller there are more labels. but this isnt logical because the labels are vertical so the length shouldnt have any impact.
Its as if all the calculations assume that the angle is 0.
Please help , if you want I can send you my sample code.
I didnt really find what I was looking for in the threads.
As I said , my problem is that I AM working with 90 degrees angle but still I only see a few labels and not all the labels .
The funny thing also is that the number of labels depends on the length of the label. if the text is smaller there are more labels. but this isnt logical because the labels are vertical so the length shouldnt have any impact.
Its as if all the calculations assume that the angle is 0.
Please help , if you want I can send you my sample code.
Hi
I just made tests and found that if I define the increment value to be a large number (like 10000), much larger then the number of labels then everything is fine and I see all the labels in the chart. I dont quite understand from the documentation what the increment value does and I am sure that what I did isnt the correct way .
Please help
I just made tests and found that if I define the increment value to be a large number (like 10000), much larger then the number of labels then everything is fine and I see all the labels in the chart. I dont quite understand from the documentation what the increment value does and I am sure that what I did isnt the correct way .
Please help
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi qcrnd,
Yes please, send us a simple example project we can run "as-is" to reproduce the problem here.
You can either post your files at news://www.steema.net/steema.public.attachments newsgroup or at our upload page.
Thanks in advance.
Yes please, send us a simple example project we can run "as-is" to reproduce the problem here.
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 |
Instructions - How to post in this forum |
Hi Narcis
I uploaded the project TChartV3Tester.zip
you can see that the labels are 90 degrees and that not all the bars have labels even though there is room enough for all the labels.
Also if you change the code and put shorter labels then you will see more labels even though they are vertical and the length shouldnt have any difference.
Thanks.
I uploaded the project TChartV3Tester.zip
you can see that the labels are 90 degrees and that not all the bars have labels even though there is room enough for all the labels.
Also if you change the code and put shorter labels then you will see more labels even though they are vertical and the length shouldnt have any difference.
Thanks.
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi qcrnd,
Thanks for the example project. Even though setting labels angle to 90 admits little bit larger labels than setting it to 0, I think it is the same bug (TF02013544) as described in the thread I pointed originally. I will update the information in the bug list.
In the meantime, the only solution I can think of is using custom labels as I suggested in the other thread.
Thanks for the example project. Even though setting labels angle to 90 admits little bit larger labels than setting it to 0, I think it is the same bug (TF02013544) as described in the thread I pointed originally. I will update the information in the bug list.
In the meantime, the only solution I can think of is using custom labels as I suggested in the other thread.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi qcrnd,
The only problem I can think of is that then the chart may not plot labels in smaller increments that this big increment you have set.
The only problem I can think of is that then the chart may not plot labels in smaller increments that this big increment you have set.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |