Focal Point
[SHARING] here's a fun trick with GRAPHTYPE (aka 'Visualize')

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

April 20, 2010, 11:11 AM
susannah
[SHARING] here's a fun trick with GRAPHTYPE (aka 'Visualize')
here's a fun trick with GRAPHTYPE (aka 'Visualize')
works in BOTH pdf and html
hides the values, just shows the visualized graphtype, no data


TABLE FILE CAR
SUM SALES AS '' RCOST AS '' DCOST AS ''
BY COUNTRY
-*ON TABLE PCHOLD FORMAT PDF
ON TABLE SET STYLE *
TYPE=REPORT,GRID=OFF,FONT='ARIAL',$
TYPE=DATA,COLUMN=SALES,COLOR=WHITE,WIDTH=0,SIZE=1, $
GRAPHTYPE=DATA,COLUMN=SALES,GRAPHLENGTH=1,GRAPHWIDTH=.2,GRAPHCOLOR=BLUE,$
TYPE=DATA,COLUMN=RCOST,COLOR=WHITE,WIDTH=0,SIZE=1,$
GRAPHTYPE=DATA,COLUMN=RCOST,GRAPHLENGTH=1,GRAPHWIDTH=.2,GRAPHCOLOR=YELLOW,$

TYPE=DATA,COLUMN=DCOST, COLOR=WHITE,WIDTH=0, SIZE=1, $
GRAPHTYPE=DATA,COLUMN=DCOST,GRAPHLENGTH=1,GRAPHWIDTH=.2,GRAPHCOLOR=GREEN,$
END

'graphwidth'...who knew? i'm sure its documented somewhere, but i just made it up and it worked! focus is a language, after all.

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




In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
April 20, 2010, 01:50 PM
Prarie
Smiler
April 21, 2010, 03:51 AM
Ram Prasad E
Document in "Creating Reports With WebFOCUS Language".

Data values gets displayed with ctrl+A in HTML output. One way to completely avoid values being displayed is to use DHTML instead of HTML.

As documented GRAPHCOLOR=ORANGE is not supported for HTML output. But same is supported in PDF and DHTML.


WebFOCUS 8.1.05
Windows
http://ibiwebfocus.wordpress.com
https://www.facebook.com/groups/ibi.webfocus/