Labels not appearing in Barchart

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

Labels not appearing in Barchart

Post by Neelam » Thu Aug 16, 2007 3:51 am

Hi,

I am using a barchart in which i have used two bar series.The labels which are at the end on the x axis are not displayed.Only the labels which are on the first bar series are dispalyed.I have made the labels visble propert to true.But still its not displaying.Kindly help me to solve out my issue.

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

Post by Narcís » Thu Aug 16, 2007 11:49 am

Hi Tina,

This is because if the first series has labels and the bottom axis is set to display such labels instead of the x values, which in fact, is done automatically, only labels of the first series will be displayed.

To solve that you have several options:

1. Manually add custom labels as shown at All Features\Welcome !\Axes\Labels\Custom labels in the features demo, which can be found at TeeChart's program group.

2. Using a fake series being the first in the chart, add all labels to it and populate this series with null values.

3. Add the maximum number of points to the first series even last points are null values.
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