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 JVThis 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.
<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