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     [CLOSED] 2 Graph Side By Side IN XLSX (Excel 2007)
Go
New
Search
Notify
Tools
Reply
  
[CLOSED] 2 Graph Side By Side IN XLSX (Excel 2007)
 Login/Join
 
Silver Member
posted
Hi All,

I need to display 2 graphs side by side in XLSX report. The below code is working fine for PDF reports, the same is not working for XLSX report.
The graphs are overlapping in XLSX.

Can anyone please help me to get this done.

-* File 1_ck_cubes.fex
GRAPH FILE CAR
-* Created by Info Assist for Graph
SUM CAR.BODY.SALES
CAR.SPECS.RPM
BY CAR.COMP.CAR
ON GRAPH HOLD AS GRAPH1 FORMAT JPEG
ON GRAPH SET VZERO OFF
ON GRAPH SET HTMLENCODE ON
ON GRAPH SET GRAPHDEFAULT OFF
ON GRAPH SET HAXIS 450.0
ON GRAPH SET VAXIS 300.0
ON GRAPH SET GRMERGE ON
ON GRAPH SET GRMULTIGRAPH 0
ON GRAPH SET GRLEGEND 0
ON GRAPH SET GRXAXIS 1
ON GRAPH SET LOOKGRAPH VLINE
ON GRAPH SET STYLE *
*GRAPH_SCRIPT
setPieDepth(0);
setPieTilt(0);
setDepthRadius(0);
setCurveFitEquationDisplay(false);
setPlace(true);
setUseSeriesShapes(true);
setMarkerSizeDefault(50);
*END
INCLUDE=endeflt.sty,$
TYPE=REPORT, TITLETEXT=&WF_TITLE.QUOTEDSTRING, $
*GRAPH_SCRIPT
setReportParsingErrors(false);
setSelectionEnableMove(false);
setRiserBarGroupSpacing(50);
*END
ENDSTYLE
END
-RUN
GRAPH FILE CAR
-* Created by Info Assist for Graph
SUM CAR.BODY.SALES
CAR.SPECS.RPM
BY MODEL
ON GRAPH HOLD AS GRAPH2 FORMAT JPEG
ON GRAPH SET VZERO OFF
ON GRAPH SET HTMLENCODE ON
ON GRAPH SET GRAPHDEFAULT OFF
ON GRAPH SET HAXIS 450.0
ON GRAPH SET VAXIS 300.0
ON GRAPH SET GRMERGE ON
ON GRAPH SET GRMULTIGRAPH 0
ON GRAPH SET GRLEGEND 0
ON GRAPH SET GRXAXIS 1
ON GRAPH SET LOOKGRAPH VLINE
ON GRAPH SET STYLE *
*GRAPH_SCRIPT
setPieDepth(0);
setPieTilt(0);
setDepthRadius(0);
setCurveFitEquationDisplay(false);
setPlace(true);
setUseSeriesShapes(true);
setMarkerSizeDefault(50);
*END
INCLUDE=endeflt.sty,$
TYPE=REPORT, TITLETEXT=&WF_TITLE.QUOTEDSTRING, $
*GRAPH_SCRIPT
setReportParsingErrors(false);
setSelectionEnableMove(false);
setResizeBarMode (true);
setRiserBarGroupSpacing(50);
*END
ENDSTYLE
END
-RUN
TABLE FILE CAR
SUM
COUNTRY NOPRINT
ON TABLE PCHOLD FORMAT XLSX
ON TABLE SET PAGE-NUM OFF
ON TABLE SET STYLE *
TYPE=REPORT, ORIENTATION=LANDSCAPE,
IMAGE=GRAPH1.jpg,
POSITION=(0.50000 0.25),
SIZE = (4.0625 2.50),$
TYPE=REPORT, ORIENTATION=LANDSCAPE,
IMAGE=GRAPH2.jpg,
POSITION=(5.50000 0.25),
SIZE = (4.0625 2.50),$
ENDSTYLE
END
-EXIT

Regards,
Suresh

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


WebFOCUS 8.0.05 - BI Portal, Developer Studio, Dev/App Studio, Excel, PDF, Active Formats and HTML5, Adobe Flex Builder, VBA
 
Posts: 47 | Location: Bengaluru, India | Registered: December 04, 2014Reply With QuoteReport This Post
Virtuoso
posted Hide Post
Suresh

You code looks correct to me and I reproduced the issue on my machine. You should open a case with techsupport and report this problem.


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats
 
Posts: 1694 | Location: Customer Support | Registered: April 12, 2005Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] 2 Graph Side By Side IN XLSX (Excel 2007)

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