Regarding the extra space in between "Y" axis scale and ChartArea

Hi All,

I have one problem in chart control,I am manully allocating location and size for chart "Y" axis scale in runtime based on chart height,

Location "x" axis i am getting from chart control "Chart.ChartArea.PrimaryYAxis.Location.X" property but the property value is initially some value once i assigned location of one of axis then this property value got changed to somthing so that i am assigning some wrong location for first axis afterwards correct only.

I attaching my screen shot also.

This is very very urgent for me please anyone reply as soon as possible.

Thanks in Advance.
K.Sathishkumar.




ChartAxisProblem0.zip

1 Reply

SK Sathishkumar Kaliavaradhan February 1, 2007 10:45 AM UTC

Hi All,

I got the answer for my question because while assigning the title of the axis then it automatically increase the size of chartAreaMargins left property that why once i assign the title of one axis then location "x" axis value got increased.


Regards
K.Sathishkumar.

Loader.
Up arrow icon