I used a drag point in the ganttbar to move the bar vertically, but when I moved the bar vertically, I found a problem. the single bar will move a line together which has a y axes label. Now I want to move the single bar without showing its horizontal line and y axes label. Do you have any way to solve this problem.
Note: you must show me the original horizontal lines and y axes labels[/url]
How to hide the Y axes label when I move the ganttbar
I've sent you a pic
I've sent you a picture to your upload page.
I want to hide the moved bars' y axes label ( not all )
I want to hide the moved bars' y axes label ( not all )
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi kingken,
In that case you can try setting left axis labels like this:
In that case you can try setting left axis labels like this:
Code: Select all
tChart1.Axes.Left.Labels.Style = Steema.TeeChart.AxisLabelStyle.Value;
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 |
I want to hide partly y axes's label
For example, I have two bars which are showed in the gantt chart, now when I moved one bar, I want to hide this bar's y axes label but still show another bar's label
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi kingken,
Do you have any label setting on your application? You could use GetAxisLabel or GetNextAxisLabel events for customizing displayed labels. You can set those which you don't want to display to an empty string. Another alternative would be using custom labels as shown in the All Features\Welcome!\Axes\Labels\Custom labels example in the features demo, available at TeeChart's program group.
Do you have any label setting on your application? You could use GetAxisLabel or GetNextAxisLabel events for customizing displayed labels. You can set those which you don't want to display to an empty string. Another alternative would be using custom labels as shown in the All Features\Welcome!\Axes\Labels\Custom labels example in the features demo, available at TeeChart's program group.
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 |