Controlling graph position

emorris1000

Registered User.
Local time
Yesterday, 22:11
Joined
Feb 22, 2011
Messages
125
I have some graphs on a report that I need to dynamically position. The user selects which graphs he wants to put in and then the reports repositions the graphs based on input.

I've been using the following code to move the graph:

reports!rpoly.gGPCMWbyDRI.top = 3.625

which compiles, but moves the chart to the "0" position. I tried using a string ("3.625"""), or a stint ("3.625") but neither worked.

Any ideas on this?
 
The unit of measurement (i think) is twips. 1 twip = 1/1440 inch (567 twips = 1 cm). So 3.625 twips = 0.006 cm. So 3.625 cm would be 2055 twips.

Also which section are you applying the graph to? the Top measurement would be from the top of the section NOT the page.
 
Thanks for that. I decided to (on a whim), just stick in like 4k and it moved it down somewhat. I had tried 300 before, but I guess that wasn't enough to notice it.
 

Users who are viewing this thread

Back
Top Bottom