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.
I have a pie graph in which i'm mentioning the colors for each slice. But I'm not getting the mentioned color for only one of the slice.
Here is the sample code:
GRAPH FILE CAR SUM DEALER_COST AS '' BY CAR WHERE CAR EQ 'BMW' OR 'MASERATI' OR 'JAGUAR' HEADING CENTER "Car Pie Graph"
ON GRAPH PCHOLD FORMAT PNG ON GRAPH SET HTMLENCODE ON ON GRAPH SET GRAPHDEFAULT OFF ON GRAPH SET VZERO OFF ON GRAPH SET HAXIS 200 ON GRAPH SET VAXIS 200 ON GRAPH SET UNITS PIXELS ON GRAPH SET LOOKGRAPH PIESINGL ON GRAPH SET GRMERGE ADVANCED ON GRAPH SET GRMULTIGRAPH 0 ON GRAPH SET GRLEGEND 1 ON GRAPH SET GRXAXIS 0 ON GRAPH SET GRAPHSTYLE * setReportParsingErrors(false); setSelectionEnableMove(false); setDepthRadius(5); setTransparentBorderColor(getSeries(0),true); setTransparentBorderColor(getSeries(1),true); setTransparentBorderColor(getSeries(2),true); setTransparentBorderColor(getSeries(3),true); setPieDepth(10); setPlace(true); setPieLabelDisplay(3); setDisplay(getLegendArea(),false); setOtherPieLabelDisplay(3); setFontName(getTitle(),"SansSerif"); setFillColor(getTitle(),new Color(32,0,32)); setFontStyle(getTitle(),2); setFontSizeAbsolute(getTitle(),true); setFontSizeInPoints(getTitle(),10); setPlaceResize(getTitle(),0); setTextWrap(getPieLabel(),true); setGradientDirection(getSeries(0),9); setFillType(getSeries(0),1); setFillColor(getSeries(1),new Color(#FFFF00)); setFillColor(getSeries(2),new Color(#0000FF)); setFillColor(getSeries(3),new Color(#008000)); setFontSizeAbsolute(getPieSliceLabel(),true); setFontSizeInPoints(getPieSliceLabel(),8); setPlaceResize(getPieSliceLabel(),0); setFontSizeAbsolute(getPieLabel(),true); setFontSizeInPoints(getPieLabel(),8); setPlaceResize(getPieLabel(),0); setFillColor(getSeries(0),new Color(118,101,188)); setFontStyle(getPieSliceLabel(),0); setFontStyle(getPieLabel(),0); setTransparentBorderColor(getChartBackground(),false); setPieFeelerTextDisplay(1); setRect(getPieFrame(),new Rectangle(-15520.0,-13672.0,36373.0,26084.0)); setTextString(getSubtitle(),"\n\n\n"); setTextString(getTitle()," \n"); setDisplay(getTitle(),true); ENDSTYLE ON GRAPH SET STYLE * TYPE=HEADING, LINE=1, ITEM=1, OBJECT=TEXT, SIZE=10, STYLE=BOLD, FONT='ARIAL', JUSTIFY=CENTER, $ ENDSTYLE END
RESULT: -------- I have given three colors for my graph:Yellow, Blue, Green
But the result is not showing Green color alone. Is there any way to get all the three mentioned colors???This message has been edited. Last edited by: SriAravind,
WebFocus Version 7.7.05 Windows, HTML/PDF/EXL2K/AHTML