Focal Point
Dynamic Graph within REPEAT

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

August 23, 2006, 02:37 PM
neuro
Dynamic Graph within REPEAT
Yet another one with the REPEAT, I am going to use an example I found in another thread.

Say I have a Graph File within a REPEAT loop, is there a way to have a dynamic variable for the image name? Say something like G | &Cnt for every loop the process goes.


GRAPH FILE CAR
SUM DEALER_COST
ACROSS COUNTRY
ON TABLE HOLD AS G1 FORMAT SVG
END
-RUN
SET PAGE=NOLEAD
TABLE FILE CAR
HEADING
" "
SUM COUNTRY NOPRINT
ON TABLE SET STYLE *
TYPE=REPORT, IMAGE=G1.SVG, POSITION=(1 2), SIZE=(8 5), $
ENDSTYLE
ON TABLE PCHOLD FORMAT PDF
END



Currenly working @ Learning Circle Education Services
Previously worked @ Nationwide Insurance
Prod: WebFOCUS 7.6.11


Test: WebFOCUS 7.6.11


Dev: WebFOCUS 7.6.11
August 23, 2006, 03:06 PM
Pam Kratt
Yes. I do the following:

ON GRAPH SAVE AS TWRRGR&COUNT FORMAT SVG

To display in PDF, use:

TYPE=REPORT, IMAGE=TWRRGR&COUNT.EVAL.SVG, POSITION=(0.5 1.65), SIZE=(9.5 6.0), $

Hope this helps.


webfocus 8.105M; os: windows; pdf, html, exl2k, csv
August 24, 2006, 10:32 AM
neuro
Again, that works great as well!

Many Thanks!


Currenly working @ Learning Circle Education Services
Previously worked @ Nationwide Insurance
Prod: WebFOCUS 7.6.11


Test: WebFOCUS 7.6.11


Dev: WebFOCUS 7.6.11