How do I set Labels Increment
Posted: Mon Dec 02, 2013 11:01 pm
Hi there
This is a very similar question to my previous one.
I am adding labels programmatically using C#.Net (see below)
However when I zoom-in I don't see any labels
How do I make my custom labels behave in a similar way to the default labels? ie. when you zoom-in you see labels at the new scale
TIA
----------------------
int count1 = theChart.Series[0].XValues.Count;
theChart.Axes.Bottom.Labels.Items.Clear();
int z1 = 0;
while (z1 < count1)
{
string m = (count1 - z1).ToString();
theChart.Axes.Bottom.Labels.Items.Add(z1, m);
++z1;
}
This is a very similar question to my previous one.
I am adding labels programmatically using C#.Net (see below)
However when I zoom-in I don't see any labels
How do I make my custom labels behave in a similar way to the default labels? ie. when you zoom-in you see labels at the new scale
TIA
----------------------
int count1 = theChart.Series[0].XValues.Count;
theChart.Axes.Bottom.Labels.Items.Clear();
int z1 = 0;
while (z1 < count1)
{
string m = (count1 - z1).ToString();
theChart.Axes.Bottom.Labels.Items.Add(z1, m);
++z1;
}