In a simple chart with X & Y axis, I'm noticing that the last value on the X-axis is not in its correct position. It is slightly to the left of its actual position which is quite annoying. Can anyone suggest a way to resolve this issue.
Hi Kumar,
Thank you for the screen shot. This behavior appears when the axis labels are horizontal orientationed as the chart displays its data across 100% of its axes. You could increase the axis space by the X axis' Far margin. That should add space to the right side of the axis, resulting in more room for your last label value.
ultraChart1.Axis.X.Margin.Far.Value = 5 ;
You could read more about it here:
http://help.infragistics.com/Help/NetAdvantage/WinForms/2009.2/CLR2.0/html/Chart_Axis_Margins.html
Please find attached the screenshot. Let me know if you'd need sample code along with this. You can notice the slight shift in position of last X-axis value
I can not reproduce the behavior you experienced. Find attached a screen shot from my sample project where the last axis value it properly positioned.
Give us a sample code if you still have the problem and/or sample code we can reproduce the problem with.