I'm having problems with TChart not displaying all y axis labels when using a Gantt.
I have my chart setup in the following way:
- 1 Gantt series.
- Multiple intervals specified each with their own text (i.e. using the Series.Add(StartDate, EndDate, y, text, color method)
- Approximately 55 intervals (with y values ranging from 1 to 55)
The horizontal grid lines and labels are missing on 4 of the points When I increase the font size, some of the labels overlap, but no more labels disappear. When i shrink the font size far below readable size, all the labels and gridlines are displayed. There seems to be plenty of room to display the labels, but they just won't display until the chart is zoomed, or its size is increased dramatically.
Also, is there any way to increase the height of gannt chart bars so that there is no space above or below them (i.e they are tightly packed)
thanks
Pratty
.NET Gantt axes labels
Hi Pratty
You can change the size with Pointer.VertSize property as below line:
TeeChart axes Increment is automatically set to fit the maximum number of labels but preventing that they overlap. If you consider there's room enought for your labels but they are not displayed please send us a simple example project we can run "as-is" to reproduce the problem here.
You can post your files either at [url]news://www.steema.net/steema.public.attachments[/url] newsgroup or at our upload page
You can change the size with Pointer.VertSize property as below line:
Code: Select all
this.gantt1.Pointer.VertSize = 10;
You can post your files either at [url]news://www.steema.net/steema.public.attachments[/url] newsgroup or at our upload page