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.
Iam trying to display a piechart in PDF report. When the value of 1 series is more than 99%, it is displaying as a line instead of full circle. Please advice if any method to be included to have it as a circle.
TABLE FILE CAR
PRINT
COMPUTE CAR_MODEL/A20 = IF CAR NE 'DATSUN' THEN 'ALL OTHERS'
ELSE CAR;
COMPUTE CAR_COST/D15.2 = IF CAR NE 'DATSUN' THEN DEALER_COST
ELSE (DEALER_COST/100);
ON TABLE SET HOLDLIST PRINTONLY AND ASNAMES ON
ON TABLE HOLD AS CAR1
END
-RUN
TABLE FILE CAR1
SUM CAR_COST
BY CAR_MODEL
ON TABLE HOLD AS CAR2
END
-RUN
-*************************************************************
GRAPH FILE CAR2
SUM CAR_COST AS ''
ACROSS CAR_MODEL
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 VAXIS 3.16
ON GRAPH SET HAXIS 3.16
ON GRAPH HOLD AS GRAPH1 FORMAT SVG
ON GRAPH SET GRAPHSTYLE *
setLegendMarkerPosition(0);
setLegendPosition(1);
setLegendTextAutofit(false);
setMarkerShape(getLegendMarker(),3);
setLegendAutomatic(false);
setLegendOrient(0);
setLegendRect(new Rectangle(3000,-11500,12000,4000));
setPieTilt(0);
setFontSizeAbsolute(getPieSliceLabel(),true);
setFontSize(getPieSliceLabel(),10);
setFillType(getColorByHeight(),2);
setRect(getPieFrame(2),new Rectangle(-17500,-11000,24280,28000));
setSeriesDefaultTransparentBorderColor(true);
setUseSeriesBorderDefaults(true);
setPieFeelerTextDisplay(2);
setPieFeelerTextFormat(2);
setPieSorting(3);
setFillColor(getSeries(0),new Color(77,79,83));
setFillColor(getSeries(1),new Color(63,156,53));
setFillColor(getChartBackground(),new Color(173 175 175));
setPlaceResize(getPieSliceLabel(),0);
setFontSizeAbsolute(getLegendText(), true);
setFontSizeInPoints(getLegendText(), 8);
setPieLabelDisplay(1);
setTextFormatPreset(getPieSliceLabel(),2);
setLegendDisplay(true);
setLegendTextAutofit(true);
setPlace(false);
setPieRotate(0);
ENDSTYLE
END
-RUN
-******************************************************************
TABLE FILE CAR
PRINT
COMPUTE TEXT1/A100 = 'PIECHART'; AS ' '
BY MODEL NOPRINT
WHERE RECORDLIMIT EQ 1
ON TABLE SET PAGE-NUM OFF
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET STYLE *
UNITS=IN,
PAGESIZE='A4',
SQUEEZE=ON,
ORIENTATION=LANDSCAPE,
$
TYPE=REPORT, IMAGE=GRAPH1.SVG, POSITION=(0.29 4.15),SIZE=(5.51 2.98),$
TYPE=DATA, COLUMN=TEXT1,JUSTIFY=CENTER,STYLE=BOLD,SIZE=16,$
ENDSTYLE
END
-RUN
-EXIT