tchart.Axes.Bottom.Labels.Count = 0 why ?
Posted: Wed Feb 24, 2010 8:09 pm
In event AfterDraw, the Axes.Bottom.Labels.Count is 0 why ?
I have a last version of teechart 4.
I have a last version of teechart 4.
Steema Software - Customer Support Forums
http://216.92.101.67/support/
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 ?
Code: Select all
for (int i = 0; i < bar1.Count; i++)
{
bar1.Labels[i] = "JJ HH";
}
int j = bar1.Labels.Count;