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.
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?
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
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, 2003
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,
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, 2003
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.
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);