Focal Point
[CLOSED] WebFOCUS 8 Graphs - Interactive

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

December 22, 2016, 04:31 PM
BI_Developer
[CLOSED] WebFOCUS 8 Graphs - Interactive
Hello

I am new to WF 8.
Can anyone please provide working examples of WebFOCUS 8 Interactive or animated graphs with CAR or any similar library databases?
Or please provide a URL to examples.

Also, client is asking for this functionality. Assume there is a line graph with 8 series. He wants an option to select/de-select few series from the legend and graph should refresh itself showing only those series selected. I have seen similar functionality with Highcharts. But is it possible out of box with WebFOCUS 7 or 8?

Thank you.

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


WF 8.2.01 APP STUDIO
PDF,HTML,EXL2K,Active
December 23, 2016, 03:23 AM
Neelima
Hi,

As per your client, you can tell them about InfoDiscovery , where you can give them their desire features.
"an option to select/de-select few series from the legend and graph should refresh itself showing only those series selected."

Basically, this feature is called as LASSO feature.

Thanks


WebFocus 8104,8204
Excel/PDF/HTML/HTMLTABLE/XML/ALPHA/GIF file/GRAPH/Active technologies
December 23, 2016, 03:38 PM
Kevin Patterson
You can exclude columns when you create a graph from an active report (refresh issue in some versions) by clicking on them and choosing "exclude from graph" in the options.

Also, if you use Active Reports as your output when creating a graph you can lasso in on a subset of data and filter the results that way.


Kevin Patterson
Appalachian State University
WebFOCUS 7.7.03
Windows, All Outputs
December 28, 2016, 02:24 PM
BI_Developer
We don't have license for InfoAssist etc.
When I just develop graph from App Studio, does HTML5 provides animations? I mean animations like raising bars and moving lines that happens in Active graphs? I would appreciate if any code is provided with a CAR file for an animated graph. Thanks

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


WF 8.2.01 APP STUDIO
PDF,HTML,EXL2K,Active
December 28, 2016, 03:03 PM
eric.woerle
This is a basic out of the box graph using car. The JSCHART Format is what will provide HTML5 output with animations. This is the most basic using the GUI.

 
ENGINE INT CACHE SET ON
-DEFAULTH &WF_STYLE_UNITS='PIXELS';
-DEFAULTH &WF_STYLE_HEIGHT='405.0';
-DEFAULTH &WF_STYLE_WIDTH='770.0';
-DEFAULTH &WF_TITLE='WebFOCUS Report';
GRAPH FILE CAR
SUM CAR.BODY.SALES
BY CAR.ORIGIN.COUNTRY
ON GRAPH PCHOLD FORMAT JSCHART
ON GRAPH SET VZERO OFF
ON GRAPH SET HTMLENCODE ON
ON GRAPH SET GRAPHDEFAULT OFF
ON GRAPH SET UNITS &WF_STYLE_UNITS
ON GRAPH SET HAXIS &WF_STYLE_WIDTH
ON GRAPH SET VAXIS &WF_STYLE_HEIGHT
ON GRAPH SET GRMERGE ADVANCED
ON GRAPH SET GRMULTIGRAPH 0
ON GRAPH SET GRLEGEND 0
ON GRAPH SET GRXAXIS 1
ON GRAPH SET LOOKGRAPH VBAR
ON GRAPH SET AUTOFIT ON
ON GRAPH SET STYLE *
*GRAPH_SCRIPT
setPieDepth(0);
setPieTilt(0);
setDepthRadius(0); 
setCurveFitEquationDisplay(false); 
setPlace(true); 
*END
INCLUDE=IBFS:/FILE/IBI_HTML_DIR/javaassist/intl/EN/ENIADefault_combine.sty,$
TYPE=REPORT, TITLETEXT=&WF_TITLE.QUOTEDSTRING, PAGESIZE=TABLOID, $
*GRAPH_SCRIPT
setReportParsingErrors(false);
setSelectionEnableMove(false);
*END
ENDSTYLE
END
-RUN
 


As for being able to select what series you want to add, you can use variables for that and create checkboxes in your HTML that will then pass the variables to use to your fex.


Eric Woerle
8.1.05M Gen 913- Reporting Server Unix
8.1.05 Client Unix
Oracle 11.2.0.2
December 29, 2016, 02:54 PM
BI_Developer
May be its version problem. I used the same eric posted but not getting animations. I did a sample from scratch and code was same but no animation. Any suggestions?


WF 8.2.01 APP STUDIO
PDF,HTML,EXL2K,Active