Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [Solved]Changing report to graph.
Go
New
Search
Notify
Tools
Reply
  
[Solved]Changing report to graph.
 Login/Join
 
Gold member
posted
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
 
Posts: 55 | Registered: May 25, 2010Reply With QuoteReport This Post
Virtuoso
posted Hide Post
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
 
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005Reply With QuoteReport This Post
Gold member
posted Hide Post
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
 
Posts: 55 | Registered: May 25, 2010Reply With QuoteReport This Post
Virtuoso
posted Hide Post
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
 
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007Reply With QuoteReport This Post
Expert
posted Hide Post
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.
   Most recent: 8204 Gen 48 in Test and Production.
   Currently Available. Please contact me.
 
Posts: 3040 | Location: Middle Tennessee [8204M Gen48 in Test&Prod] | Registered: February 23, 2005Reply With QuoteReport This Post
Virtuoso
posted Hide Post
I agree do it in the Graph Assistant and then look at the code and learn.
 
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005Reply With QuoteReport This Post
Gold member
posted Hide Post
Thanks every one! Did the report using graphic assistant.


WF: 7.6.8
OS/Platform: Windows, Unix
 
Posts: 55 | Registered: May 25, 2010Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [Solved]Changing report to graph.

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.