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 coded the graph captioned below as an example:
quote:
GRAPH FILE CAR SUM SALES BY MODEL ACROSS COUNTRY
ON TABLE PCHOLD FORMAT PNG ON GRAPH SET GRAPHDEFAULT ON ON GRAPH SET VZERO OFF ON GRAPH SET HTMLENCODE ON ON GRAPH SET HAXIS 770 ON GRAPH SET VAXIS 405
ON GRAPH SET LOOKGRAPH VBAR
ON GRAPH SET GRMERGE ADVANCED ON GRAPH SET GRMULTIGRAPH 0 ON GRAPH SET GRLEGEND 1 ON GRAPH SET GRXAXIS 1 ON GRAPH SET GRAPHSTYLE * setTemplateFile("/images/tdg/template/IBIColorToWhite.txt"); setReportParsingErrors(false); setSelectionEnableMove(false); setDepthRadius(5); setPlace(true); setCurveFitEquationDisplay(false); setDisplay(getDataText(), true); setFillColor(getDataText(),new Color(0,0,225); -* -** Position totals relative to &XBAR -* setDataTextPostion(0); setDataTextRadiusDefault(30); -* -** Use setSeriesLabel setSeriesLabel(0,""); -*setSeriesLabel(1,"Apples"); -*setSeriesLabel(2,"Oranges"); -*setSeriesLabel(3,"Cherries"); -*setSeriesLabel(4,"Bananas");
-* -** Control fonts of X-axes -* setFontName(get01Label(0),"TimesNewRoman"); setAutoFit(get01Label(0),false); setFontSizeAbsolute(get01Label(0),true); setFontSize(get01Label(0),12); -** Control fonts of Y-axes setFontName(getY1Label(0),"TimesNewRoman"); setAutoFit(getY1Label(0),false); setFontSizeAbsolute(getY1Label(0),true); setFontSize(getY1Label(0),12); ENDSTYLE END -RUN -EXIT
I am aware of using the setSeriesLabel command to change the legendText in Graph, but when I do so, it continues to display the color of the data line in the legend.
Does anyone know how to disable the color key in the legend?
Thanks!This message has been edited. Last edited by: Tomsweb,
I created a small graph using graph assistant this morning. I discovered that the command to enable display of the graph legend is setLegendDisplay(true);.
Unfortunately my graphs - coded by hand with help from focalpoint and research - did not contain this command, so the default setting must be setLegendDisplay(true);.
I disabled the display of my legend by setting it to false.
setLegendDisplay(false); will disable legend display in graph.