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     set diameter of a pie ???

Read-Only Read-Only Topic
Go
Search
Notify
Tools
set diameter of a pie ???
 Login/Join
 
Expert
posted
somebody buy me a vowel... there's only 1 post on this subject, 2008, unanswered. Is there a parm that controls the pie diameter?
banging head against wall....




In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
 
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003Report This Post
Expert
posted Hide Post
The only thing I've seen is that it puts the pie chart in the available space in the rectangle. I've been able get it larger by changing the dimensions of the chart, make it square.


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
Platinum Member
posted Hide Post
Hi Susannah,

I'm in agreement with Waz. I've had luck futzing with the white space in the chart area too with stuff like:

setRect(getFrame(), new Rectangle(-12000,-8000, 23000, 20000)); // Set the graph display area to be the entire canvas.
setPlace(false);

But it was trial and error for my purposes to make it work out decent.

Norb


prod:7.6.9, win2k3 mre, caster, bid, devstudio 7.6.9
 
Posts: 242 | Location: Minneapolis | Registered: February 16, 2006Report This Post
Expert
posted Hide Post
it's definitely the setRect code, and it works in conjunction with HAXIS and VAXIS. The dimensions used by the Java code is some ridiculous coordinate system or something, so 32000 is the largest number you can use and 16000 is the position of the middle.

GRAPH FILE TMIXH002
-* Created by Advanced Graph Assistant
SUM
TOTALAUM/D16M AS ''
ACROSS SORTORDER AS ''

ON GRAPH PCHOLD FORMAT PNG
ON GRAPH SET HTMLENCODE ON
ON GRAPH SET GRAPHDEFAULT OFF
ON GRAPH SET VZERO OFF
ON GRAPH SET HAXIS 520
ON GRAPH SET VAXIS 250
ON GRAPH SET UNITS PIXELS
ON GRAPH SET LOOKGRAPH PIE
-*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/IBITrueColors.txt");
setTextString(getTitle(),"&REPORT_TITLE");
setTextJustHoriz(getTitle(),1); // Right Justify the title
setPlace(false);
setRect(getTitle(),new Rectangle(-6000,-15700,28000,32000));
-*setRect(getTitle(),new Rectangle(-15520.0,14545.0,26666.0,969.0));
setRect(getFrame(), new Rectangle(-16000,-16000,32000,32000)); // Set the graph display area to be the entire canvas.
-*setRect(getPieFrame(),new Rectangle(-8800.0,-15030.0,24853.0,30060.0));
setRect(getPieFrame(),new Rectangle(-8000,-18000,32000,32000));
setExtendToFrameEdge(true);
setReportParsingErrors(false);
setSelectionEnableMove(false);
setDepthRadius(5);
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);
setTransparentBorderColor(getChartBackground(),true);
setPieDepth(60);
setPieTilt(20);
restoreAllSlices();
setOtherPieLabelDisplay(2);
setPieLabelDisplay(2);
setDisplay(getPieLabel(),false);
setPieBreakoutMode(false);
setPieFeelerTextDisplay(0);
-*setFillColor(getChartBackground(),new Color(192,192,192));
setTextAntialiasing(true);
setPrimitiveAntialiasing(true);
setAdjustAutoScaleForRefLines(false);
setFillColor(getLegendText(),new Color(66,70,73));

setDisplay(getBeveledLegend(),false);
setFontSizeAbsolute(getLegendText(),true);
setFontSizeInPoints(getLegendText(),9);
setPlaceResize(getLegendText(),0);
setTransparentFillColor(getLegendArea(),true);
setLegendOrient(0);
setLegendTextAutosize(false);
setLegendAutomatic(true);
setLegendPosition(3);
setLegendMarkersPerRow(0);
setDisplay(getTitle(),true);
setFontSizeAbsolute(getTitle(), true);
setFontSizeInPoints(getTitle(), 9);
setPlaceResize(getTitle(), 0);
setFillColor(getTitle(),new Color(66,70,73));
setFontName(getTitle(),"Arial");
setFontName(getLegendText(),"Arial");
setFontStyle(getTitle(),0);

setFillColor(getSeries(00),new Color(000,056,107));
setFillColor(getSeries(01),new Color(210,207,226));
setFillColor(getSeries(02),new Color(074,172,180));
setFillColor(getSeries(03),new Color(153,137,124));
setFillColor(getSeries(04),new Color(051,096,137));
setFillColor(getSeries(05),new Color(219,217,232));
setFillColor(getSeries(06),new Color(110,189,195));
setFillColor(getSeries(07),new Color(173,161,150));
setFillColor(getSeries(08),new Color(102,136,166));
setFillColor(getSeries(09),new Color(228,226,238));
setFillColor(getSeries(10),new Color(146,205,210));

ENDSTYLE


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
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Expert
posted Hide Post
bless all of your hearts...i've got lots to tinker with.




In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
 
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003Report 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     set diameter of a pie ???

Copyright © 1996-2020 Information Builders