In event AfterDraw, the Axes.Bottom.Labels.Count is 0 why ?
I have a last version of teechart 4.
tchart.Axes.Bottom.Labels.Count = 0 why ?
Re: tchart.Axes.Bottom.Labels.Count = 0 why ?
Hello banzatto,
1.- You could assigned manually labels for example:
2.- Using values of series for example: XValues.Count or YValues.Count.
I hope will helps.
Thanks,
Axes.Bottom.Labels.Count only change value when you assigned custom labels, as for example demo All Features\Welcome !\Axes\Labels\Custom labels. If you want know number labels, but you don't have custom labels, you could use any of the following ways:In event AfterDraw, the Axes.Bottom.Labels.Count is 0 why ?
1.- You could assigned manually labels for example:
Code: Select all
for (int i = 0; i < bar1.Count; i++)
{
bar1.Labels[i] = "JJ HH";
}
int j = bar1.Labels.Count;
I hope will helps.
Thanks,
Best Regards,
Sandra Pazos / 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 |