Focal Point
[CLOSED] Graph Issue

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

April 30, 2014, 12:00 PM
Jveselka
[CLOSED] Graph Issue
Not sure how to explain this or how to post an example but here goes.

I am using 764

I have created three graphs, each its own fex.

I have added them to an HTML page and linked them together so that the first graph drills down to graph2 and graph2 drills down to graph3.

They update each other as you drill down and it works great, except that when I drill down from graph1 which adjusts the data on graph2 it moves graph2 down and to the right. When you drill down on graph2 it adjusts the data on graph3 but moves graph3 down and to the right.

All the graphs were created by copying the first graph and changing the data it will show. I even set the first graph to update itself and when it does it drops the graph1 down and to the right.

Just to see I created two separate simple car graphs and put them on an html page and it does the same thing.

Any help would be greatly appreciated.

Thanks
JV

This message has been edited. Last edited by: <Kathryn Henning>,


WebFOCUS 8105m
Windows, All Outputs
April 30, 2014, 12:26 PM
Francis Mariani
Perhaps you can post the code for the simple car graphs AND the html page they're included in. This will help us help you.

Please put your code between code tags, click on the </> button.


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
May 01, 2014, 09:08 AM
Jveselka
Ok here is the code for the graph1.
  

-* File graph1.fex
-*INTERNAL_PROPERTIES$fieldDisplayMode=label;OBJECTID=GLOBAL
-*INTERNAL_PROPERTIES$enablePreview=true;OBJECTID=GLOBAL
-*INTERNAL_PROPERTIES$prefixDisplayMode=;OBJECTID=GLOBAL
-*INTERNAL_PROPERTIES$GlobalRecordLimit=500;OBJECTID=GLOBAL
-*INTERNAL_PROPERTIES$SampleData=false;OBJECTID=GLOBAL
GRAPH FILE CAR
-* Created by Advanced Graph Assistant
SUM CNT.CAR.COMP.CAR
BY CAR.ORIGIN.COUNTRY
ON GRAPH PCHOLD FORMAT PNG
ON GRAPH SET GRAPHDEFAULT OFF
ON GRAPH SET VZERO OFF
ON GRAPH SET HTMLENCODE ON
ON GRAPH SET HAXIS 770
ON GRAPH SET VAXIS 405
ON GRAPH SET UNITS PIXELS
ON GRAPH SET LOOKGRAPH VBAR
ON GRAPH SET GRMERGE ADVANCED
ON GRAPH SET GRMULTIGRAPH 0
ON GRAPH SET GRLEGEND 0
ON GRAPH SET GRXAXIS 1
ON GRAPH SET GRAPHSTYLE *
setTemplateFile("/images/tdg/template/IBISouthWestern.txt");
setReportParsingErrors(false);
setSelectionEnableMove(false);
setTransparentBorderColor(getChartBackground(),true);
setTransparentBorderColor(getSeries(0),true);
setTransparentBorderColor(getSeries(1),true);
setTransparentBorderColor(getSeries(2),true);
setTransparentBorderColor(getSeries(3),true);
setTransparentBorderColor(getSeries(4),true);
setTransparentBorderColor(getSeries(5),true);
setTransparentBorderColor(getSeries(6),true);
setTransparentBorderColor(getSeries(7),true);
setTransparentBorderColor(getSeries(8),true);
setTransparentBorderColor(getSeries(9),true);
setTransparentBorderColor(getSeries(10),true);
setPlace(true);
setDepthRadius(0);
setDepthAngle(0);
setFillColor(getChartBackground(),new Color(0,0,0));
setFillColor(getFrame(),new Color(0,0,0));
setFillColor(getLegendText(),new Color(192,192,192));
setFillColor(getLegendArea(),new Color(192,192,192));
setBorderColor(getLegendArea(),new Color(192,192,192));
setFillColor(getO1Label(),new Color(192,192,192));
setFillColor(getY1Label(),new Color(192,192,192));
ENDSTYLE
ON GRAPH SET STYLE *
TYPE=DATA, COLUMN=N2, TARGET=graph2, FOCEXEC=graph2, $
ENDSTYLE
END
  



WebFOCUS 8105m
Windows, All Outputs
May 01, 2014, 09:09 AM
Jveselka
Graph2
  

-* File graph2.fex
-*INTERNAL_PROPERTIES$fieldDisplayMode=label;OBJECTID=GLOBAL
-*INTERNAL_PROPERTIES$enablePreview=true;OBJECTID=GLOBAL
-*INTERNAL_PROPERTIES$prefixDisplayMode=;OBJECTID=GLOBAL
-*INTERNAL_PROPERTIES$GlobalRecordLimit=500;OBJECTID=GLOBAL
-*INTERNAL_PROPERTIES$SampleData=false;OBJECTID=GLOBAL
-*INTERNAL_PROPERTIES$fieldDisplayMode=label;OBJECTID=GLOBAL
-*INTERNAL_PROPERTIES$enablePreview=true;OBJECTID=GLOBAL
-*INTERNAL_PROPERTIES$prefixDisplayMode=;OBJECTID=GLOBAL
-*INTERNAL_PROPERTIES$GlobalRecordLimit=500;OBJECTID=GLOBAL
-*INTERNAL_PROPERTIES$SampleData=false;OBJECTID=GLOBAL
GRAPH FILE CAR
-* Created by Advanced Graph Assistant
SUM CNT.CAR.COMP.CAR
BY CAR.WARANT.WARRANTY
ON GRAPH PCHOLD FORMAT PNG
ON GRAPH SET GRAPHDEFAULT OFF
ON GRAPH SET VZERO OFF
ON GRAPH SET HTMLENCODE ON
ON GRAPH SET HAXIS 770
ON GRAPH SET VAXIS 405
ON GRAPH SET UNITS PIXELS
ON GRAPH SET LOOKGRAPH VBAR
ON GRAPH SET GRMERGE ADVANCED
ON GRAPH SET GRMULTIGRAPH 0
ON GRAPH SET GRLEGEND 0
ON GRAPH SET GRXAXIS 1
ON GRAPH SET GRAPHSTYLE *
setTemplateFile("/images/tdg/template/IBISouthWestern.txt");
setReportParsingErrors(false);
setSelectionEnableMove(false);
setTransparentBorderColor(getChartBackground(),true);
setTransparentBorderColor(getSeries(0),true);
setTransparentBorderColor(getSeries(1),true);
setTransparentBorderColor(getSeries(2),true);
setTransparentBorderColor(getSeries(3),true);
setTransparentBorderColor(getSeries(4),true);
setTransparentBorderColor(getSeries(5),true);
setTransparentBorderColor(getSeries(6),true);
setTransparentBorderColor(getSeries(7),true);
setTransparentBorderColor(getSeries(8),true);
setTransparentBorderColor(getSeries(9),true);
setTransparentBorderColor(getSeries(10),true);
setPlace(true);
setDepthRadius(0);
setDepthAngle(0);
setFillColor(getChartBackground(),new Color(0,0,0));
setFillColor(getFrame(),new Color(0,0,0));
setFillColor(getO1Label(),new Color(192,192,192));
setFillColor(getY1Label(),new Color(192,192,192));
ENDSTYLE
END
  



WebFOCUS 8105m
Windows, All Outputs
May 01, 2014, 09:11 AM
Jveselka
HTML, now this is 764 so if you open it in a new version it will probably try to adjust it so I am not sure how it will look. But thanks for your help.


  

< !-- Generated by Report Layout Painter -->


<script id=IBI_RelCallBack type=text/javascript>function AdjustChildrenPosition(){
}


<script id=IBI_OptionsScript type=text/javascript>
var rltVersion = "764";
var cgipath = "cgipath";
var ibirls = "ibirls2";

var rltdyncalendar = "rltdyncalendar";
var gmap = "ibigmap";
var olap="olap";
var olappanebase="olappanebase";
var olapdrill="olapdrill";

var ibixmltree="ibixmltree";

var ibiOptions = new Array(cgipath,ibirls);


<script id=IBI_nls type=text/javascript src="/ibi_html/javaassist/nls.js">

<script id=IBI_ibigbl type=text/javascript src="/ibi_html/javaassist/ibi/html/js/ibigbl.js">

<script id=IBI_ibigblloadCss type=text/javascript>
ibigblloadCss(null);
HtmlPage
<script id=clientEventHandlersJS type=text/javascript>
//Begin function window_onload
function window_onload() {
UpdateData();
// TODO: Add your event handler code here
//add onInitialUpdate() function to make changes before initial run of the reports
}
//End function window_onload


<script for=window eventname="onload">window.onload = function() { window_onload(); }


<iframe style="Z-INDEX: 1; POSITION: absolute; BORDER-BOTTOM-STYLE: none; BORDER-RIGHT-STYLE: none; BACKGROUND-COLOR: black; WIDTH: 740px; BORDER-TOP-STYLE: none; HEIGHT: 410px; BORDER-LEFT-STYLE: none; OVERFLOW: auto; TOP: 0px; LEFT: 0px" id=graph1 title=graph1.fex tabIndex=1 frameBorder=no name=graph1 scrolling=no align=top elementtype="3" size_to_fit="1" autoExecute="True" requests_list="0">
<iframe style="Z-INDEX: 2; POSITION: absolute; BORDER-BOTTOM-STYLE: none; BORDER-RIGHT-STYLE: none; BACKGROUND-COLOR: black; WIDTH: 340px; BORDER-TOP-STYLE: none; HEIGHT: 200px; BORDER-LEFT-STYLE: none; OVERFLOW: auto; TOP: 0px; LEFT: 760px" id=graph2 title=graph2.fex tabIndex=2 frameBorder=no name=graph2 scrolling=no align=top elementtype="3" size_to_fit="1" autoExecute="True" requests_list="1">



<script>







<script id=IBI_loader type=text/javascript>
getActiveReportJscript();
setUserInfo();


  



WebFOCUS 8105m
Windows, All Outputs