Thanks Venkat for the reply but I had tried that already and there's still an issue.
I have added the resizing code in the LayoutComplete event. The resizing of the axes works fine. But the problem is the tick labels are still being painted as if the axes were equal length.
Also, the first time the chart is created, the axes labels are painted along side the grid intervals. But after that everytime the chart updates/resizes, the label positions shift. ( I am attaching the screenshots.)
I also added code to set the TickLabelsDrawingMode for all the axes to AutomaticMode. It doesn't help!
chart1.PrimaryYAxis.TickLabelsDrawingMode = ChartAxisTickLabelDrawingMode.AutomaticMode;
Thanks again,
Palak.
Label Positions_7dc2545a.zip