Hi,
I fix the min and max values of the horizontal axe with this:
WebChart.Chart.Axes.Left.Automatic=false;
WebChart.Chart.Axes.Left.Minimum=new DateTime(2004,10,5,1,0,0);
WebChart.Chart.Axes.Left.Maximum=new DateTime(2004,10,7,23,0,0);
You can see the result here:
http:\\www.oknodata.com\graphe.jpg
The min and max values are OK but the values are not drawn on the axe. Is it possible to force the chart to draw the first and the last value of the horizontal axe?
Thanks
WebTeechart.NET V2 Horizontal Axe
-
- Newbie
- Posts: 9
- Joined: Mon Jul 04, 2005 4:00 am
- Location: Belgium
- Contact:
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi,
The code you posted would set vertical axis minimum and maximum values as you should use WebChart.Chart.Axes.Bottom instead of WebChart.Chart.Axes.Left. However, I can see what you report in your image.
To get what you request you can try setting a lower bottom axis increment and label separation.
The code you posted would set vertical axis minimum and maximum values as you should use WebChart.Chart.Axes.Bottom instead of WebChart.Chart.Axes.Left. However, I can see what you report in your image.
To get what you request you can try setting a lower bottom axis increment and label separation.
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 |