Page 1 of 1
Displaying and printing to scale with TeeChart?
Posted: Tue Apr 19, 2005 6:08 am
by 9038118
I am plotting point positions and vector line to a Chart 7 but my diagram is distorted or stretched to the extents of the window size for the chart. I want to view the diagram at a correct proportional scale where X is scaled correctly relative to Y? What properties need to be turned ON or OFF?
Thanks,
Matt
aerosys@aerogeomatics.com
Posted: Tue Apr 19, 2005 7:47 am
by narcis
Hi Matt,
Could you please check what your chart anchors are set to? Try setting them to Left and Top only.
Posted: Wed Apr 20, 2005 3:08 pm
by 9038118
Narcis,
I turned off the bottom and right anchors so now it is only anchored at the top & Left. I also set BackImageMode to pbmCenter and AutoSize to false, but I still get the same problem, which is that the diagram stretches unevenly (distorted) to fit the resized Chart window area. The chart also has its alignment property set to alCLient (to the pannel it was placed on)
I like and want the diagram to re-size to fit the window, but it needs to do so in relative proportion (fixed aspect ratio) of the point series actual ground coordinates
I sent you an email with two BMPs showing (1) an approximate correct scaling, and (2) the distorted aspect ration, did you receive these?
Matt
Posted: Thu Apr 21, 2005 10:57 am
by narcis
Hi Matt,
I have received your images but I can't appreciate any difference between them. Would you be so kind to point us the differences?
Thanks in advance.
Posted: Thu Apr 21, 2005 2:03 pm
by 9038118
The blue wire outlines in the first bmp are more or less perfect squares (overlapping) where the aspect ratio between x and y are equal on the screen. I achieved this by resizing the Chart1 window by hand and eyeball untill the aspect ratio looked approximately correct. In the second bmp, the diagram is elongated in the Y direction because the Chart is automatically strecthing the data to fit the size of the windowed area. What I need to do is only allow resizing with correct (exact) x & Y aspect ratio regardless of window size.
Matt
aerosys@aerogeomatics.com
FYI, put in a "view 3D' modw, this is really cool feature of yours.
Posted: Fri Apr 22, 2005 2:33 pm
by Pep
Hi Matt,
I'm sorry, I've been looking the images you sent us and I'm not able to see any difference between them. Are you sure you've sent use the two different images ? Could you please be so kind to send us them again and indicate (over them) where the problem is ?