Is there some kind of field visualization that indicates like a gain or a loss. SPecifically I was thinking of up and down arrows.
Dont have much choices in my visualization library.
Dan wf 7.1.1
IBM Main Frame: MVS, FIX, VSAM
Windows SQL
WF 7.7
October 14, 2007, 05:57 PM
GCohen
If you are using Developer Studio, then there are hundreds of visuals. Open Windows Explorer, and point to your Dev Studio version, and seacrch for ".gif" There are arrow down, up, etc that you can use plus many more.
Release 7.6.9 Windows HTML
October 15, 2007, 03:11 AM
GamP
And, besides using gifs for visualisation, you could in this case also make use of some windows fonts (wingdins or such) to display special characters in colors of your own choice.
GamP
- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
October 15, 2007, 08:30 AM
PBrightwell
I don't know if this will help but the following (in your DEFINE) will let you place Red, Green or Orange balls next to your values.
Pat WF 7.6.8, AIX, AS400, NT AS400 FOCUS, AIX FOCUS, Oracle, DB2, JDE, Lotus Notes
October 15, 2007, 08:32 AM
PBrightwell
I see that didn't come through very well, inside of the ' is "<" followed by "img"
Pat WF 7.6.8, AIX, AS400, NT AS400 FOCUS, AIX FOCUS, Oracle, DB2, JDE, Lotus Notes
October 15, 2007, 09:32 AM
Tony A
P,
The easiest way (imho) to prevent that is to enclose your code (whether it's HTML, javascript, WebFOCUS etc.) between the UBB code tags which are [ code] and [/code] (without spaces) for the start and finish of your code.
You could also use the options for disabling HTML or Pure HTML but in my experience the code tags cover all
Also, don't create a new post, go back to the original and click on the "edit" icon - which looks like a folder icon with a pencil eraser on it.
TThis message has been edited. Last edited by: Tony A,
In FOCUS since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2
WebFOCUS App Studio 8.2.06 standalone on Windows 10
October 15, 2007, 11:01 AM
susannah
Dan,you can show bars going right of zero for a + growth rate or gain, left of zero for a negative one or loss. just put this entry in your stylesheet section of your fex. GRAPHTYPE=DATA,COLUMN=myfield,GRAPHLENGTH=1,GRAPHCOLOR=NAVY,$ You can of course color your data, conditionally. TYPE=DATA,COLUMN=myfield,COLOR=GREEN,WHEN=myfield GE 0,$ TYPE=DATA,COLUMN=myfield,COLOR=RED,WHEN=myfield LT 0,$
In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
October 15, 2007, 12:36 PM
Francis Mariani
e.g.
TABLE FILE CAR
SUM
SALES
BY COUNTRY
BY CAR
BY MODEL
ON TABLE SET PAGE NOLEAD
ON TABLE SET STYLESHEET *
TYPE=REPORT, GRID=OFF,FONT='ARIAL', SIZE=8, $
GRAPHTYPE=DATA,COLUMN=SALES,GRAPHLENGTH=1,GRAPHCOLOR=NAVY,$
TYPE=DATA,COLUMN=SALES,COLOR=GREEN,WHEN=SALES GE 10000,$
TYPE=DATA,COLUMN=SALES,COLOR=RED,WHEN=SALES LT 10000,$
ENDSTYLE
END
I wonder if there's a way to get the "graph" to display one colour if the value is below a threshold and another colour if it is above...
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
October 15, 2007, 01:06 PM
GinnyJakes
Francis, yes you can.
I couldn't get yours to work in a timely manner, but here is one that does work. I used the same conditions for both the data and the graph bar.
TABLE FILE CAR PRINT SALES AS 'Sales'
COMPUTE Profit/D12.2 = RETAIL_COST - DEALER_COST; BY COUNTRY AS 'Country' BY CAR AS 'Car' BY MODEL AS 'Model' BY BODYTYPE AS 'Body Type' HEADING "Car Sales/Profit Report" WHERE ( COUNTRY EQ '&COUNTRY' ) AND ( CAR EQ '&CAR' ) AND ( MODEL EQ '&MODEL' ); ON TABLE SET PAGE-NUM OFF ON TABLE NOTOTAL ON TABLE SET ONLINE-FMT HTML ON TABLE SET HTMLCSS ON ON TABLE SET STYLE * UNITS=IN, PAGESIZE='SCREEN', LEFTMARGIN=0.000000, RIGHTMARGIN=0.000000, TOPMARGIN=0.000000, BOTTOMMARGIN=0.000000, SQUEEZE=ON, ORIENTATION=PORTRAIT, $ DEFMACRO=COND0001, MACTYPE=RULE, RIGHTGAP=0.125000, TOPGAP=0.000000, BOTTOMGAP=0.000000, WHEN=N5 GE 20000, $ DEFMACRO=COND0002, MACTYPE=RULE, RIGHTGAP=0.125000, TOPGAP=0.000000, BOTTOMGAP=0.000000, WHEN=N5 LE 5000, $ DEFMACRO=COND0003, MACTYPE=RULE, RIGHTGAP=0.125000, TOPGAP=0.000000, BOTTOMGAP=0.000000, WHEN=N6 GE 5000, $ DEFMACRO=COND0004, MACTYPE=RULE, RIGHTGAP=0.125000, TOPGAP=0.000000, BOTTOMGAP=0.000000, WHEN=N6 LT 1000, $ GRAPHTYPE=DATA, COLUMN=N5, $ GRAPHTYPE=DATA, COLUMN=N5, GRAPHCOLOR='GREEN', MACRO=COND0001, $ GRAPHTYPE=DATA, COLUMN=N5, GRAPHCOLOR='RED', MACRO=COND0002, $ GRAPHTYPE=DATA, COLUMN=N6, $ GRAPHTYPE=DATA, COLUMN=N6, GRAPHCOLOR='GREEN', MACRO=COND0003, $ GRAPHTYPE=DATA, COLUMN=N6, GRAPHCOLOR='RED', MACRO=COND0004, $ TYPE=REPORT, GRID=OFF, FONT='ARIAL', SIZE=9, COLOR='BLACK', BACKCOLOR='NONE', STYLE=NORMAL, RIGHTGAP=0.125000, TOPGAP=0.013889, BOTTOMGAP=0.027778, $ TYPE=DATA, COLUMN=N5, MACRO=COND0001, $ TYPE=DATA, COLUMN=N5, MACRO=COND0002, $ TYPE=DATA, COLUMN=N6, MACRO=COND0003, $ TYPE=DATA, COLUMN=N6, MACRO=COND0004, $ TYPE=TITLE, STYLE=BOLD, $ TYPE=TABHEADING, SIZE=12, STYLE=BOLD, $ TYPE=TABFOOTING, SIZE=12, STYLE=BOLD, $ TYPE=HEADING, SIZE=12, STYLE=BOLD, $ TYPE=HEADING, LINE=1, JUSTIFY=CENTER, $ TYPE=HEADING, LINE=1, OBJECT=TEXT, ITEM=1, FONT='COMIC SANS MS', COLOR=RGB(153 51 0), $ ENDSTYLE END
oh that is sweet, Ginny. applause. a regular GRAPHTYPE..with a WHEN= doesn't seem to work at all. that's just gotta be a bug!
I'm thinking this is Focal Point Tip of the Year from Ginny for Summit 08/NashvilleThis message has been edited. Last edited by: susannah,
In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
October 15, 2007, 01:39 PM
Francis Mariani
Ginny,
Thanks very much for that - works like a charm.
Cheers,
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
October 15, 2007, 03:36 PM
GinnyJakes
Thanks.
Use the GUI and be careful of the order. The stylesheet entries are applied sequentially and if you don't have the conditions applied in the proper order, you will get funny looking results.
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
October 15, 2007, 07:01 PM
susannah
ah i figured it out. its not a bug, its a feature.
-*---------------------------------------
GRAPHTYPE=DATA,COLUMN=PROFIT,$
GRAPHTYPE=DATA,COLUMN=PROFIT,GRAPHCOLOR='GREEN',WHEN=PROFIT GE 0,$
GRAPHTYPE=DATA,COLUMN=PROFIT,GRAPHCOLOR='RED',WHEN=PROFIT LT 0,$
-*-------------------------------------
the WHEN= just wont stand alone in a GRAPHYTYPE (which makes sense) You have to declare the GRAPHTYPE first. then the WHEN= can tweak it all you want...
In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
October 16, 2007, 02:36 AM
Tony A
You beat me to it! I still prefer the method in your article though, less chunky and so adaptable
TThis message has been edited. Last edited by: Tony A,
In FOCUS since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2
WebFOCUS App Studio 8.2.06 standalone on Windows 10
October 19, 2007, 03:24 PM
moyer1dl
Kinda got lost with this one
Did a repost and rephrased the question
Dan
IBM Main Frame: MVS, FIX, VSAM
Windows SQL
WF 7.7
October 19, 2007, 04:05 PM
Prarie
He wants arrows.
In Focus since 1993. WebFOCUS 7.7.03 Win 2003
October 19, 2007, 06:02 PM
Tony A
Thanks for "pointing" that out Prarie
T
In FOCUS since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2
WebFOCUS App Studio 8.2.06 standalone on Windows 10