I have a scatter mschart with fixed X scale and Y scale to max = 20, Min = -20, major division = 5 and minor division = 2. The code also sets Uniformaxes to false. I use the clipboard to print it with:
[RESULTAREA.MSChart1.EditCopy
Printer.PaintPicture Clipboard.GetData(), (Printer.ScaleWidth - RESULTAREA.MSChart1.Width) \ 2, 3000]
But, when trying to print it the X axis scale has been changed to fit the data points, ie.: -5 and 5.
Unsuccesfully I've spent a lot of time trying to stop this.
I wonder if someone could help me to find a way to make this method to accept the given fixed scales.
That will be highly appreciated.
Nelson
[RESULTAREA.MSChart1.EditCopy
Printer.PaintPicture Clipboard.GetData(), (Printer.ScaleWidth - RESULTAREA.MSChart1.Width) \ 2, 3000]
But, when trying to print it the X axis scale has been changed to fit the data points, ie.: -5 and 5.
Unsuccesfully I've spent a lot of time trying to stop this.
I wonder if someone could help me to find a way to make this method to accept the given fixed scales.
That will be highly appreciated.
Nelson