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.
New TIBCO Community Coming Soon
In early summer, TIBCO plans to launch a new community—with a new user experience, enhanced search, and expanded capabilities for member engagement with answers and discussions! In advance of that, the current myibi community will be retired on April 30. We will continue to provide updates here on both the retirement of myibi and the new community launch.
What You Need to Know about Our New Community
We value the wealth of knowledge and engagement shared by community members and hope the new community will continue cultivating networking, knowledge sharing, and discussion.
During the transition period, from April 20th until the new community is launched this summer, myibi users should access the TIBCO WebFOCUS page to engage.
Hi, I need to display "+" symbol part of the pie graph legend. But it is not displayed. Please let me know if you have faced similar issues before and found a work around.
Attaching below sample code.
DEFINE FILE CAR
CTRY/A50 = IF COUNTRY EQ 'ENGLAND' THEN 'ENGLAND + PLUS' ELSE COUNTRY;
END
-RUN
GRAPH FILE CAR
SUM SEAT AS ''
ACROSS CTRY
ON GRAPH SET LOOKGRAPH PIEMULTI
ON GRAPH SET GRAPHEDIT SERVER
ON GRAPH SET 3D OFF
ON GRAPH SET VZERO ON
ON GRAPH SET GRID ON
ON GRAPH SET VAXIS 3.94
ON GRAPH SET HAXIS 5.25
ON GRAPH HOLD AS HOLD FORMAT SVG
ON GRAPH SET GRAPHSTYLE *
setRect(getPieFrame(),new Rectangle(-17000,-13400,19000,24000));
setPlace(false);
setSeriesDefaultTransparentBorderColor(true);
setUseSeriesBorderDefaults(true);
setPieTilt(0);
setFillColor(getSeries(0),new Color(207,244,247));
setAxisAssignment(getSeries(1),0);
setFillColor(getSeries(1),new Color(224,224,0));
setAxisAssignment(getSeries(2),0);
setFillColor(getSeries(2),new Color(160,160,255));
setAxisAssignment(getSeries(3),0);
setFillColor(getSeries(3),new Color(0,224,0));
setAxisAssignment(getSeries(4),0);
setFillColor(getSeries(4),new Color(255,32,32));
setFontSizeAbsolute(getY1Title(),true);
setFontSizeAbsolute(getY1Label(),true);
setFontSizeAbsolute(getY2Title(),true);
setFontSizeAbsolute(getY2Label(),true);
setFontSizeAbsolute(getO1Title(),true);
setFontSizeAbsolute(getO1Label(),true);
setPieRotate(15);
setFontSizeAbsolute(getPieSliceLabel(), true);
setFontSizeInPoints(getPieSliceLabel(), 10);
setFillType(getColorByHeight(),2);
-*
setPieFeelerTextDisplay(2);
setPieFeelerTextFormat(2);
setPieSorting(3);
-*
setMarkerDisplay(true);
setConnectLineMarkers(true);
setConnectScatterMarkers(true);
setO1LabelDisplay(true);
setO1AxisSide(0);
setO1MajorGridDisplay(true);
setO1MajorGridStyle(0);
setO1MinorGridDisplay(false);
setAxisAssignment(0,0);
setY1LabelDisplay(true);
setY1AxisSide(0);
setY1MajorGridDisplay(true);
setY1MajorGridStyle(0);
setY1MinorGridDisplay(false);
setTextFormatPreset(getY1Label(),-1);
setTextFormatPattern(getY1Label(),"#.##");
setFillColor(getSeries(0),new Color(097,120,175));
setFillColor(getSeries(1),new Color(163,088,107));
setFillColor(getSeries(2),new Color(117,174,108));
setFillColor(getSeries(3),new Color(119,079,136));
setFillColor(getSeries(4),new Color(101,149,171));
setFillColor(getSeries(5),new Color(201,134,101));
-*
setPlaceResize(getPieSliceLabel(),0);
-*
setPieLabelDisplay(1);
setTextFormatPreset(getPieSliceLabel(),2);
-*
setLegendDisplay(true);
setLegendAutomatic(false);
setLegendMarkerPosition(0);
setLegendPosition(2);
setLegendTextAutofit(false);
setMarkerShape(getLegendMarker(),3);
setLegendOrient(0);
setLegendRect(new Rectangle(8000,-14000,16000,9000));
setFontSizeAbsolute(getLegendText(), true);
setFontName(getLegendText(), "Arial");
setFontSizeInPoints(getLegendText(), 10);
ENDSTYLE
ON GRAPH SET STYLE *
PAGESIZE='A4',
LEFTMARGIN=0.10000,
RIGHTMARGIN=0.10000,
TOPMARGIN=0.10000,
BOTTOMMARGIN=0.10000,
SQUEEZE=ON,
ORIENTATION=PORTRAIT,
$
TYPE=REPORT,
GRID=OFF,
FONT='ARIAL',
SIZE=10,
BACKCOLOR='NONE',
STYLE=NORMAL,
$
ENDSTYLE
END
-RUN
TABLE FILE CAR
PRINT
COUNTRY NOPRINT
WHERE RECORDLIMIT EQ 1
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET STYLE *
TYPE=REPORT, IMAGE=HOLD.SVG, POSITION=(0.15 4.60), $
ENDSTYLE
END
This message has been edited. Last edited by: Kerry,
Regards, Kasi Krishnan WF 7.1.4 & WF 7.6.9: Databases - DB2, SQL Server 2000. OS: Windows & AIX