Focal Point
[SOLVED] dynamic graph dimension in pdf

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/2557079516

January 27, 2012, 07:48 PM
Dorota
[SOLVED] dynamic graph dimension in pdf
Hi,
Is there a way to set the graph's dimension in pdf dynamically?
I have a template with the horizontal bars graph with results for multiple managers - document created for a different directors based on a parameter. In html the size is set nicely by parameterized HAXIS and VAXIS
The graph may have any number of bars from 1 to 10. I tried DIMENSION=(* *), but then realized this works for reports in pdf, not graphs, is that correct?
I can post a sample of my code, but thought this is more of a general question if such concept exists for graphs (and in pdf).
Dorota

This message has been edited. Last edited by: Kerry,


8008, Windows, html, pdf, excel
January 28, 2012, 02:02 AM
Dorota
After hours of searching and trying... and posting my original question here, I realized I can pass the parameter to the final compound document setting height of the graph by assigning the calculation.
For example:
-INCLUDE list_mgrs.fex
-SET &HDIM=(&LINES * 0.3) + 0.5;

and then later:
DIMENSION=( 3.5 &HDIM.EVAL)

I wanted to post the answer here in case somebody needed something similar.
One down. :-)


8008, Windows, html, pdf, excel
January 28, 2012, 12:22 PM
njsden
Thanks Dorota. This may come in handy.



Prod/Dev: WF Server 8008/Win 2008 - WF Client 8008/Win 2008 - Dev. Studio: 8008/Windows 7 - DBMS: Oracle 11g Rel 2
Test: Dev. Studio 8008 /Windows 7 (Local) Output:HTML, EXL2K.