Focal Point
[CLOSED] Point to Point InfoAssist+ Extention

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

April 06, 2018, 02:53 PM
Johnny Aviles
[CLOSED] Point to Point InfoAssist+ Extention
I am curious if anyone has worked with point to point charts or have something similar for an InfoAssist+ extention in WebFocus 8.2.

We want to have data points on a map where it shows lines going from one area to the next. It could end up with a spider look with locations starting at the same area and going to different areas.

We are working in a QA environment for WebFocus 8.2 in InfoAssist and have looked at a few different extensions but haven't found exactly what we're looking for. Thanks.

This message has been edited. Last edited by: FP Mod Chuck,


WebFOCUS 8.1
April 09, 2018, 08:46 AM
BabakNYC
There's a D3 chart extension that has Source and Target cities in the US. You'll have to download and add com.ibi.usmap to your ..\WebFOCUS82\config\web_resource\extensions and enable it first. Here's an example:
  

ENGINE INT CACHE SET ON
SET PAGE-NUM=NOLEAD
-DEFAULTH &WF_HTMLENCODE=OFF;
SET HTMLENCODE=&WF_HTMLENCODE

SET ARGRAPHENGINE=JSCHART
-DEFAULTH &WF_EMPTYREPORT=ON;
SET EMPTYREPORT=&WF_EMPTYREPORT

SET EMBEDHEADING=ON
SET GRAPHDEFAULT=OFF
-DEFAULTH &WF_STYLE_UNITS='PIXELS';
-DEFAULTH &WF_STYLE_HEIGHT='405.0';
-DEFAULTH &WF_STYLE_WIDTH='770.0';

-DEFAULTH &WF_TITLE='WebFOCUS Report';
GRAPH FILE WF_RETAIL
-* Created by Info Assist for Graph
SUM WF_RETAIL.WF_RETAIL_SALES.GROSS_PROFIT_US
BY WF_RETAIL.WF_RETAIL_GEOGRAPHY_STORE.CITY_NAME
BY WF_RETAIL.WF_RETAIL_GEOGRAPHY_CUSTOMER.CITY_NAME
WHERE WF_RETAIL.WF_RETAIL_PRODUCT.BRAND EQ 'SuperSonic';
ON GRAPH PCHOLD FORMAT JSCHART
ON GRAPH SET VZERO 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 LOOKGRAPH EXTENSION
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/ibi_themes/Warm.sty,$
TYPE=REPORT, TITLETEXT=&WF_TITLE.QUOTEDSTRING, ORIENTATION=LANDSCAPE, $
TYPE=DATA, COLUMN=N1, BUCKET= >src, $
TYPE=DATA, COLUMN=N2, BUCKET= >dst, $
TYPE=DATA, COLUMN=N3, BUCKET= >width, $
*GRAPH_SCRIPT

setReportParsingErrors(false);
setSelectionEnableMove(false);
*GRAPH_JS_FINAL
"pieProperties": {
"holeSize": "0%"
},
"chartType": "com.ibi.usmap",
"agnosticSettings": {
"chartTypeFullName": "com.ibi.usmap"
}

*END
ENDSTYLE
END

-RUN





WebFOCUS 8206, Unix, Windows