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.
Is it possible to apply conditional styling for data labels in a bar graph? I have conditional styling code which changes the color of the ENGLAND bar to RED. But I am not aware of a way to change color of data label based on same condition. Basically data label for ENGLAND bar should be WHITE color and all other bar's data labels should be GREEN color. Please suggest if there is a way.
GRAPH FILE CAR
SUM
DEALER_COST/D12M AS ''
BY COUNTRY AS ''
ON GRAPH PCHOLD FORMAT PDF
ON GRAPH SET VZERO OFF
ON GRAPH SET GRWIDTH 1
ON GRAPH SET UNITS INCHES
ON GRAPH SET HAXIS 8
ON GRAPH SET VAXIS 6
ON GRAPH SET GRMERGE ON
ON GRAPH SET GRMULTIGRAPH 0
ON GRAPH SET GRLEGEND 0
ON GRAPH SET GRXAXIS 1
ON GRAPH SET LOOKGRAPH VBAR
ON GRAPH SET AUTOFIT ON
ON GRAPH SET STYLE *
*GRAPH_SCRIPT
setPieDepth(0);
setPieTilt(0);
setDepthRadius(0);
setCurveFitEquationDisplay(false);
setPlace(true);
*END
INCLUDE=IBFS:/FILE/IBI_HTML_DIR/ibi_themes/Warm.sty,$
TYPE=REPORT, TITLETEXT=&WF_TITLE.QUOTEDSTRING, PAGESIZE=LETTER, ORIENTATION=LANDSCAPE, BACKCOLOR=RGB(255 255 255), $
DEFMACRO=COND0001, MACTYPE=RULE, COLOR=RED, WHEN=N1 EQ 'ENGLAND', $
TYPE=DATA, COLUMN=N2, MACRO=COND0001, $
*GRAPH_SCRIPT
setReportParsingErrors(false);
setSelectionEnableMove(false);
setDisplay(getLegendArea(),false);
setDataTextPosition(4);
setDataTextDisplay(true);
setFontSizeAbsolute(getDataText(0),true);
setAutofit(getDataText(0),true);
setPlaceResize(getDataText(0),0);
setTextFormatPattern(getDataText(0),"$#,###");
*END
ENDSTYLE
END
Thank you.This message has been edited. Last edited by: FP Mod Chuck,