I have plotted line series with bottom axis range from 0 to 2000, the increment is given automatically as 200. After this I programmatically changed from 200 to 100 by assigning to Increment field, but the change is not happening. I made the following changes:
tChart1.Axes.Bottom.Labels.Separation=0
tChart1.Axes.Bottom.Increment = 100
Is there a way to set the increment? Please let me know.
Problem in Axes Increment
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Lipi,
Yes, what Steve says is right. That's because labels can not overlap. One way to achieving that would be setting the labels angle to be vertical:
Yes, what Steve says is right. That's because labels can not overlap. One way to achieving that would be setting the labels angle to be vertical:
Code: Select all
private void Form1_Load(object sender, System.EventArgs e)
{
line1.FillSampleValues(2000);
tChart1.Axes.Bottom.Increment=100;
tChart1.Axes.Bottom.Labels.Angle=90;
}
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 |
-
- Newbie
- Posts: 5
- Joined: Fri Jul 02, 2004 4:00 am
Though I have tried the same but it did not help me. Any other suggestion would be helpful
Thanks in Advance!
Lipi
Thanks in Advance!
Lipi
narcis wrote:Hi Lipi,
Yes, what Steve says is right. That's because labels can not overlap. One way to achieving that would be setting the labels angle to be vertical:
Code: Select all
private void Form1_Load(object sender, System.EventArgs e) { line1.FillSampleValues(2000); tChart1.Axes.Bottom.Increment=100; tChart1.Axes.Bottom.Labels.Angle=90; }