Focal Point
[Solved]Changing report to graph.

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

September 16, 2010, 01:23 PM
Neenz
[Solved]Changing report to graph.
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
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
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
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,
Doug

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




   In FOCUS Since 1983 ~ from FOCUS to WebFOCUS.
   Current: WebFOCUS Administrator at FIS Worldpay | 8204, 8206
I agree do it in the Graph Assistant and then look at the code and learn.
Thanks every one! Did the report using graphic assistant.


WF: 7.6.8
OS/Platform: Windows, Unix