I am new to webfocus graphs. I have a report that displays in html format and i need to change it as a graph. Should I be redoing the entire report using ghaphical assistant or can I change my focus code to make it look like a graph.This message has been edited. Last edited by: Neenz,
WF: 7.6.8 OS/Platform: Windows, Unix
September 16, 2010, 01:45 PM
Prarie
Well you can change it to GRAPH FILE WHATEVER and see what you get....
What kind of graph do you want? Line, Bar, Pie?
In Focus since 1993. WebFOCUS 7.7.03 Win 2003
September 16, 2010, 01:58 PM
Neenz
I want a line graph. I tried changing it , but it does not take my values in DEFINE FILE.
WF: 7.6.8 OS/Platform: Windows, Unix
September 16, 2010, 05:00 PM
Darin Lee
The report is great for verifying your data, but I would suggest re-creating the graph from the start using the graph assistant. It would probably be quicker for someone new to graphs. Then compare it to your report code and learn how one is transitioned to the other.
Regards,
Darin
In FOCUS since 1991 WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex WF Client: 77 on Linux w/Tomcat
September 16, 2010, 10:27 PM
Doug
If all else fails, start with
TABLE FILE CAR
SUM DEALER_COST AS 'Dealer,Cost'
RETAIL_COST AS 'Retail,Cost'
BY CAR
END
(didn't know about the commas in the title, did you?) and see what you data looks like, verify it accordingly. Then, the hard part, change "TABLE" to "GRAPH" and run it again... We don't want a BAR chart, do we? No. Then add something like "ON GRAPH SET LOOKGRAPH VLINE" or "ON GRAPH SET LOOKGRAPH HLINE" just before the "END"... Then open it up in "Edit in Developer Studio Tool" and open the graph in the "Open in Graph Assistant"...
The GUI is Great for this... as a start.
Enjoy, DougThis message has been edited. Last edited by: Doug,
In FOCUS Since 1983 ~ from FOCUS to WebFOCUS. Current: WebFOCUS Administrator at FIS Worldpay | 8204, 8206
September 17, 2010, 09:03 AM
Prarie
I agree do it in the Graph Assistant and then look at the code and learn.
September 22, 2010, 04:56 PM
Neenz
Thanks every one! Did the report using graphic assistant.