Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21238

how to stop paintpicture clipboard changng category scale in a scatter graph

$
0
0
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

Viewing all articles
Browse latest Browse all 21238

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>