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.



Read-Only Read-Only Topic
Go
Search
Notify
Tools
Pie Graph Size
 Login/Join
 
Member
posted
Is there a way to reduce or increase the size of the actual pie graph? Because of the layout of my dashboard, I have limited space for every chart/report. Therefore, instead of reducing the font size of the feelers,to the point where they become illegible, I would like to reduce the actual graphic to an appropriate balance in between feeler font size and pie graph size.

Note: Feeler length is already minimal.


WebFOCUS 8.0.02
Windows, All Outputs
 
Posts: 10 | Registered: June 24, 2013Report This Post
Expert
posted Hide Post
Have you checked out all the graph options available ?


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
Gold member
posted Hide Post
Hi ebalboa, have you tried doing something like this :-
  GRAPH FILE CAR
SUM CAR_NAME
BY PRICE
ON GRAPH PCHOLD FORMAT PNG
ON GRAPH SET HTMLENCODE ON
ON GRAPH SET GRAPHDEFAULT OFF
ON GRAPH SET VZERO OFF
ON GRAPH SET HAXIS 500
ON GRAPH SET VAXIS 500
ON GRAPH SET UNITS PIXELS
ON GRAPH SET LOOKGRAPH PIESINGL
.............


that will make you 500 x 500 pixels graph .


WebFOCUS 7.7. Windows Server 2008. All Outputs.

WEBFOCUS 7.6.11. Windows Server 2003. All Outputs.
 
Posts: 60 | Registered: July 10, 2012Report This Post
Member
posted Hide Post
Waz- I have tried all the graph options available.
Jump_faster- If I change the HAXIS and VAXIS values my graph does change in size. However, the graph center point of the pie graph also changes. What I mean is, I get a smaller (or larger depending on which values I use) pie graph which is no longer centered on the frame. The header or footer remain in the correct position. Even though the graph is smaller, it is in a position which causes the feelers to continue to get cutoff.

Thank you for your help, it is much appreciated.


WebFOCUS 8.0.02
Windows, All Outputs
 
Posts: 10 | Registered: June 24, 2013Report This Post
Expert
posted Hide Post
In your ON GRAPH SET GRAPHSTYLE * section, try adding the following:

setRect(getFrame(), new Rectangle(-16000,-16000,32000,32000)); // Set the graph display area to be the entire canvas.

The graph engine operates with some ridiculous 32000 (or is it 16000?) unit canvas, and I've found this setting forces the graph to fit in the entire space provided by HAXIS and VAXIS.


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
To move components of the graph around, I've also played with
setRect(getTitle(),new Rectangle(-6000,-15700,28000,32000));
setRect(getPieFrame(),new Rectangle(-8000,-18000,32000,32000));
setExtendToFrameEdge(true);
  


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
  Powered by Social Strata  

Read-Only Read-Only Topic


Copyright © 1996-2020 Information Builders