Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Pie chart of greater than 99.99% does not show on PDF

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Pie chart of greater than 99.99% does not show on PDF
 Login/Join
 
Silver Member
posted
Hi All,

Please help.....!!!!!

When I run the below code I'm not getting PIE graph on PDF(but works on html). Ideally it should show 100% graph but it shows only a line without graph.
I'm not sure if I'm missing something that to be added.

but when we change the value of '2' in COMPUTE TO 1000 or 0 it shows perfectly but not somewhere close to 99.9999999999999%


  
TABLE FILE CAR
PRINT
COMPUTE MARKT_VAL1/I10 = IF COUNTRY EQ 'ENGLAND' THEN 56161 ELSE 2;
COUNTRY
WHERE COUNTRY EQ 'ENGLAND' OR 'JAPAN'
ON TABLE HOLD AS H_RET_NOTRET
END

GRAPH FILE H_RET_NOTRET
SUM
MARKT_VAL1 AS ''
BY COUNTRY
ON GRAPH SET HTMLENCODE ON
ON GRAPH SET GRAPHDEFAULT OFF
ON GRAPH SET VZERO OFF
ON GRAPH SET HAXIS 200
ON GRAPH SET VAXIS 150
ON GRAPH SET 3D OFF
ON GRAPH PCHOLD FORMAT PDF
-*ON GRAPH SAVE AS APIE FORMAT SVG
-*ON GRAPH HOLD AS APIE FORMAT SVG
ON GRAPH SET UNITS PIXELS
ON GRAPH SET LOOKGRAPH PIEMULTI
ON GRAPH SET GRMERGE ON
ON GRAPH SET GRMULTIGRAPH 0
ON GRAPH SET GRLEGEND 0
ON GRAPH SET GRXAXIS 1
ON GRAPH SET GRAPHSTYLE *
setFillColor(getLegendArea(),new Color(255,255,255));
setMarkerDisplay(true);
setConnectLineMarkers(false);
setConnectScatterMarkers(false);
setO1LabelDisplay(true);
setO1AxisSide(0);
setO1MajorGridDisplay(true);
setO1MajorGridStyle(0);
setO1MinorGridDisplay(false);
setAxisAssignment(0,0);
setY1LabelDisplay(true);
setY1MajorGridDisplay(true);
setY1MajorGridStyle(0);
setY1MinorGridDisplay(false);
setTextFormatPreset(getY1Label(),-1);
setTextFormatPattern(getY1Label(),"#.##");
setPieFeelerTextDisplay(2);
setPieLabelDisplay(1);
setTextFormatPreset(getPieSliceLabel(),2);
setRiserBorderMode(1);
setSeriesDefaultTransparentBorderColor(false);
setUseSeriesBorderDefaults(true);
setLegendDisplay(true);
-*setTitleString("Account Composition\n(&&PIEMON)");
setTextJustHoriz(getTitle(),1);
setFontName(getTitle(),"Arial");
setFontSizeAbsolute(getTitle(),true);
setFontSize(getTitle(),10);
setFontStyle(getTitle(),0);
setTextRotation(getTitle(),0);
setTextWrap(getTitle(),false);
setPlaceResize(getTitle(),0);
setPlaceRotate(getTitle(),0);
setPlaceAlign(getTitle(),0);
setFontSizeAbsolute(getY1Title(),true);
setFontSizeAbsolute(getY1Label(),true);
setFontSizeAbsolute(getY2Title(),true);
setFontSizeAbsolute(getY2Label(),true);
setFontSizeAbsolute(getO1Title(),true);
setFontName(getPieSliceLabel(),"Arial");
setFontSizeAbsolute(getPieSliceLabel(),true);
setFontSize(getPieSliceLabel(),10);
setFontStyle(getPieSliceLabel(),0);
setTextRotation(getPieSliceLabel(),0);
setTextWrap(getPieSliceLabel(),false);
setPlaceResize(getPieSliceLabel(),0);
setFontName(getLegendText(),"Arial");
setFontSizeAbsolute(getLegendText(),true);
setFontSize(getLegendText(),10);
setFontStyle(getLegendText(),0);
setTextRotation(getLegendText(),0);
setTextWrap(getLegendText(),false);
setPlaceResize(getLegendText(),0);
setPlace(true);
ENDSTYLE
END

This message has been edited. Last edited by: Kerry,


WebFOCUS 8.1.03
Windows, Linux All Outputs
 
Posts: 46 | Location: India | Registered: August 18, 2011Report This Post
Master
posted Hide Post
I've tested your code...
...and it works.

It shows a PDF with a graph with 100% England and 0% Japan.

It might be a bug that's been fixed. Please enter your versions in your signature.


_____________________
WF: 8.0.0.9 > going 8.2.0.5
 
Posts: 668 | Location: Veghel, The Netherlands | Registered: February 16, 2010Report This Post
Silver Member
posted Hide Post
Dave,

7.7.02 is the version we use


WebFOCUS 8.1.03
Windows, Linux All Outputs
 
Posts: 46 | Location: India | Registered: August 18, 2011Report This Post
Silver Member
posted Hide Post
Dave,

Do I need to request IBI for patch.


WebFOCUS 8.1.03
Windows, Linux All Outputs
 
Posts: 46 | Location: India | Registered: August 18, 2011Report This Post
Expert
posted Hide Post
Are you able to post a screen shot of the PDF and HTML result ?


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Silver Member
posted Hide Post
Please find the images generated for the same








Regards
Saran


WebFOCUS 8.1.03
Windows, Linux All Outputs
 
Posts: 46 | Location: India | Registered: August 18, 2011Report This Post
Silver Member
posted Hide Post
first image is PDF Format and the below is without any format.

I've also tried to save the image and call in the PDF but not difference.


WebFOCUS 8.1.03
Windows, Linux All Outputs
 
Posts: 46 | Location: India | Registered: August 18, 2011Report This Post
Expert
posted Hide Post
What is the exact environment your are running on. Windows ? Unix ? MF ? + version etc.

How are your running this ?, From Dev Studio ?, A server somewhere?

Whats the web server ?

May not be able to help but it gives a better profile, as this shouldn't happen.

One option to get this working, is to hold the graph as an JPG or SVG, and then stick it in a simple report, and retuen that.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Pie chart of greater than 99.99% does not show on PDF

Copyright © 1996-2020 Information Builders