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     pie chart - not circular

Read-Only Read-Only Topic
Go
Search
Notify
Tools
pie chart - not circular
 Login/Join
 
Platinum Member
posted
Has anyone run across creating a pie chart and it appearing egg shaped. If I have several fields that are being charted (i.e. 3 different slices to the pie) it is perfectly round, but if I only have 1 slice (so pie is all one color) or 2 slices, it's shaped with a point on the top and the bottom. Has anyone else come across this and have a fix for it?


webfocus 8.105M; os: windows; pdf, html, exl2k, csv
 
Posts: 179 | Registered: November 10, 2004Report This Post
Virtuoso
posted Hide Post
Can you post your stylesheet?


In Focus since 1993. WebFOCUS 7.7.03 Win 2003
 
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005Report This Post
Platinum Member
posted Hide Post
SET LOOKGRAPH=PIE
SET 3D=OFF
GRAPH FILE HOLD220
SUM PCT_MKT_VL AS ""
BY MAJMINCLASS AS ''
WHERE MKT_VL IS-NOT MISSING AND MKT_VL GT 0 AND PCT_MKT_VL GE 1
WHERE SORTORDER EQ &COUNT
ON GRAPH SET LOOKGRAPH PIEMULTI
ON GRAPH SET GRAPHEDIT SERVER
ON GRAPH SET BARNUMB OFF
ON GRAPH SET 3D OFF
ON GRAPH SET VZERO ON
ON GRAPH SET GRID ON
ON GRAPH SET GRAPHSTYLE *
setSeriesLabelArray(
-INCLUDE SAVE
);
setRect(getFrame(),new Rectangle(-12000,-8000,21000,18000));
setRiserBorderMode(1);
setSeriesDefaultTransparentBorderColor(false);
setUseSeriesBorderDefaults(true);
setFillMissingData(0);
setLegendPosition(2);
setPlace(true);
setLegendDisplay(true);
setLegendTextAutofit(false);
setFontSize(getLegendText(),10);
setRect(getLegendArea(),new Rectangle(8000,8000,10000,10000));
ENDSTYLE
ON GRAPH SAVE AS ALLOC&COUNT FORMAT SVG
END


webfocus 8.105M; os: windows; pdf, html, exl2k, csv
 
Posts: 179 | Registered: November 10, 2004Report This Post
Virtuoso
posted Hide Post
Have you tried a different format type?
Just curious if it behaves the same way.


In Focus since 1993. WebFOCUS 7.7.03 Win 2003
 
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005Report This Post
Platinum Member
posted Hide Post
I think you might have run across a wringle.

I ran the same code as you except using the car file and had the same problem. The horizontal is slightly larger than the vertical.
I took out all the graph api code and got the same result.
I outputed SVG,PNG and GIF and got the same result.
We are running WF 7.1.3
I went back and ran some of our pie charts and saw the same result.

The horizontal is 2 5/8
The vertical is 2 3/8


(Production: WebFOCUS 7.1.3 on Win 2K/IIS 6/CGI)
(Test: WebFOCUS 7.1.3 on Win 2K/IIS 6/CGI)
 
Posts: 104 | Location: Boston | Registered: April 23, 2003Report This Post
Virtuoso
posted Hide Post
I could not duplicate in 5.3.5...


In Focus since 1993. WebFOCUS 7.7.03 Win 2003
 
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005Report This Post
<JG>
posted
In 713 as Lenny says Oval.
Even worse it's oval for a single segment/color as well.
 
Report This Post
Platinum Member
posted Hide Post
thanks! I'll open a case then and report the issue.


webfocus 8.105M; os: windows; pdf, html, exl2k, csv
 
Posts: 179 | Registered: November 10, 2004Report This Post
Platinum Member
posted Hide Post
Is there a way to get Larry or JG's e-mail address so I could ask them directly for their car file code?

Larry/JG - could I get your car file code for IBI? I can't get a svg to display without the following stmt (I just get a box with no picture) TYPE=REPORT, IMAGE=ALLOC1.SVG, POSITION=(1.6 1.6), SIZE=(6.2 3.9), $

We're wondering if it's my size statement causing the problem. I've tried playing with the size and tried not having it with no luck. It fixes one graph but then causes a problem with the next graph.

Thanks.

This message has been edited. Last edited by: Pam Kratt,


webfocus 8.105M; os: windows; pdf, html, exl2k, csv
 
Posts: 179 | Registered: November 10, 2004Report This Post
Expert
posted Hide Post
Wot's a wringle? And, aren't some pies oval? Smiler


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
Platinum Member
posted Hide Post
Is there a way to get Larry or JG's e-mail address so I could ask them directly for their car file code?


webfocus 8.105M; os: windows; pdf, html, exl2k, csv
 
Posts: 179 | Registered: November 10, 2004Report This Post
Platinum Member
posted Hide Post
This is the code I used.

SET LOOKGRAPH=PIE
GRAPH FILE CAR
SUM SEATS AS ""
BY SEATS
ON GRAPH SET GRAPHEDIT SERVER
ON GRAPH SET 3D OFF
ON GRAPH SET GRAPHSTYLE *
ENDSTYLE
ON GRAPH PCHOLD FORMAT GIF
END


Lenny


(Production: WebFOCUS 7.1.3 on Win 2K/IIS 6/CGI)
(Test: WebFOCUS 7.1.3 on Win 2K/IIS 6/CGI)
 
Posts: 104 | Location: Boston | Registered: April 23, 2003Report This Post
Virtuoso
posted Hide Post
Try sending them a private message via Focal Point.


Thanks!

Mickey

FOCUS/WebFOCUS 1990 - 2011
 
Posts: 995 | Location: Gaithersburg, MD, USA | Registered: May 07, 2003Report This Post
<JG>
posted
Sorry Pam I neglected this.

For a single color example extend Lennys example to

SET LOOKGRAPH=PIE
GRAPH FILE CAR
SUM SEATS AS ""
BY COUNTRY
WHERE COUNTRY EQ 'ENGLAND'
ON GRAPH SET GRAPHEDIT SERVER
ON GRAPH SET 3D OFF
ON GRAPH SET GRAPHSTYLE *
ENDSTYLE
ON GRAPH PCHOLD FORMAT GIF
END

From my understanding it would fail the QA for a Florida orange.
 
Report This Post
Virtuoso
posted Hide Post
Just tested this in 7.1.4 and it is a nice orange.


In Focus since 1993. WebFOCUS 7.7.03 Win 2003
 
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005Report This Post
Expert
posted Hide Post
Prarie,

Colour or shape?

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
Virtuoso
posted Hide Post
Shape! Smiler


In Focus since 1993. WebFOCUS 7.7.03 Win 2003
 
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005Report This Post
Platinum Member
posted Hide Post
The IBI division reviewed the problem and stating it is because they apply a slight tilt to the pie chart. I haven't tried it yet, but I thought I would put the code out here for the others that found the pie chart was not circular either.

To resolve, add the following:

-*remove any Depth in the pie chart
setPieDepth(0);
-*remove any Tilting in the pie chart
setPieTilt(0);


webfocus 8.105M; os: windows; pdf, html, exl2k, csv
 
Posts: 179 | Registered: November 10, 2004Report This Post
Platinum Member
posted Hide Post
Hi use
setPlace(false);
and dont Add setTilt();
you can get the Rounded Pie Chart.

Thanks,
KalyanS


Thanks,
Kalyan.S
------------------------------------
WebFOCUS 7.1.4, Win XP SP2,
Oracle8i.
------------------------------------
 
Posts: 155 | Location: Bangalore. | Registered: January 24, 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     pie chart - not circular

Copyright © 1996-2020 Information Builders