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     [SOLVED] Bursting Graph in PDF Compound Report not working
Go
New
Search
Notify
Tools
Reply
  
[SOLVED] Bursting Graph in PDF Compound Report not working
 Login/Join
 
Member
posted
Hello All,

I am trying to burst a Graph in a compound PDF report. I used the car master to replicate my scenario. I am trying to burst by COUNTRY, when i run the GRAPH i get the results for one value instead of all the values.

Is there anything i need to fix to make this work.

I am posting the code below.


Thank you in Advance.

 

GRAPH FILE CAR
HEADING
"<COUNTRY"
SUM SALES AS ''
BY COUNTRY NOPRINT
BY CAR AS '' 
ON GRAPH PCHOLD FORMAT PDF
ON GRAPH SET VZERO OFF
ON GRAPH SET HAXIS 8.510416
ON GRAPH SET VAXIS 5.022916
ON GRAPH SET UNITS INCHES
ON GRAPH SET GRMERGE ON
ON GRAPH SET GRMULTIGRAPH 0
ON GRAPH SET GRLEGEND 0
ON GRAPH SET GRXAXIS 1
ON GRAPH SET LOOKGRAPH VBAR
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='Chart1', $
*GRAPH_SCRIPT

-*setReportParsingErrors(false);
-*setSelectionEnableMove(false);
-*setDisplay(getO1Title(),false);
-*setScaleMinAuto(getY1Axis(),false);
-*setScaleMaxAuto(getY1Axis(),false);
-*setScaleMax(getY1Axis(),90.0);
-*setGridStepAuto(getY1MajorGrid(),false);
-*setGridStep(getY1MajorGrid(),30.0);
-*setDisplay(getY1Title(),false);
-*setDisplay(getY1MajorGrid(),true);
-*setDisplay(getO1MinorGrid(),false);
-*setDisplay(getO1MajorGrid(),true);
-*setFillColor(getSeries(0),new Color(192,192,192));
-*setDisplay(getY1Label(),false);
-*setFontSizeAbsolute(getO1Label(), true);
-*setFontSizeInPoints(getO1Label(), 8);
-*setPlaceResize(getO1Label(), 0);
-*setBorderColor(getO1MajorGrid(),new Color(32,0,32));
-*setFillColor(getO1MajorGrid(),new Color(32,0,32));
*GRAPH_JS_FINAL
"xaxis": {
    "title": {
        "visible": false
    }
},
"yaxis": {
    "title": {
        "visible": false
    }
}


*END
ENDSTYLE
END

 



ENVIRONMENT: WebFOCUS 8.0.07

This message has been edited. Last edited by: FP Mod Chuck,
 
Posts: 9 | Registered: December 08, 2017Reply With QuoteReport This Post
Virtuoso
posted Hide Post
Prad9293

I think you are confused as to what bursting is.. Bursting is a term used with ReportCaster to allow a report to be run once and have the contents of the output be sent in sections based on the highest level sort field to a distribution list of users based on the value of that field. Your example does not appear to be using ReportCaster it is code that references the country field in the heading which is not bursting.


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats
 
Posts: 1566 | Location: Customer Support | Registered: April 12, 2005Reply With QuoteReport This Post
Member
posted Hide Post
Hey Chuck,

Thank you for responding. I just added the country field on the header to see what was the value for the report. I use reportcaster with distribution list to pass COUNTRY names which is the first BY field in my report. please correct me if i am wrong


WEBFOCUS 82
Windows X64
HTML,PDF,EXCEL
 
Posts: 9 | Registered: December 08, 2017Reply With QuoteReport This Post
Virtuoso
posted Hide Post
Prad9293

That sounds correct. But it sounds like the people are getting a report with all countries cars listed. So something is amiss. You may want to open a case with techsupport and show them what is going on.


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats
 
Posts: 1566 | Location: Customer Support | Registered: April 12, 2005Reply With QuoteReport This Post
Member
posted Hide Post
The code below generates graph in PDF format and also seems to work with Compound report and ReportCaster bursting.

  

ENGINE INT CACHE SET ON


-DEFAULTH &WF_STYLE_UNITS='INCHES';
-DEFAULTH &WF_STYLE_HEIGHT='2.12';
-DEFAULTH &WF_STYLE_WIDTH='8.000';

-DEFAULTH &WF_TITLE='WebFOCUS Report';
GRAPH FILE CAR
SUM SALES
BY COUNTRY
BY CAR
ON GRAPH PCHOLD FORMAT PDF
ON GRAPH SET HTMLENCODE ON
ON GRAPH SET GRAPHDEFAULT OFF
ON GRAPH SET ARGRAPHENGIN 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 GRMERGE ADVANCED
ON GRAPH SET GRMULTIGRAPH 1
ON GRAPH SET GRLEGEND 0
ON GRAPH SET GRXAXIS 1
ON GRAPH SET LOOKGRAPH VBAR
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, $
*GRAPH_SCRIPT
setReportParsingErrors(false);
setSelectionEnableMove(false);

*GRAPH_JS_FINAL
"xaxis": {
    "title": {
        "visible": false
    }
},
"yaxis": {
    "title": {
        "visible": false
    }
}

*END
ENDSTYLE
END

-RUN



WebFOCUS 8.0.07


WEBFOCUS 82
Windows X64
HTML,PDF,EXCEL
 
Posts: 9 | Registered: December 08, 2017Reply With QuoteReport This Post
Virtuoso
posted Hide Post
So have you solved your problem with this?


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats
 
Posts: 1566 | Location: Customer Support | Registered: April 12, 2005Reply With QuoteReport This Post
Member
posted Hide Post
quote:
So have you solved your problem with this?

Yes Chuck! It works with the above code!


WEBFOCUS 82
Windows X64
HTML,PDF,EXCEL
 
Posts: 9 | Registered: December 08, 2017Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Bursting Graph in PDF Compound Report not working

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