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'm trying to get the BAR totals SUM label to rotate 90 degrees. I don't get any errors, but it seems like my setTextRotation(getDataText(),1) method is being ignored. Any suggestions?
GRAPH FILE fopend_20200203 -* Created by Info Assist for Graph SUM SSN AS 'All CDRs' FTC_WU AS 'FTC/WU CDRs' BY FILE_DT AS 'Date' BY REGION AS 'Region' HEADING "FTC/WU CDRs by Region Over Time" ON GRAPH PCHOLD FORMAT JSCHART ON GRAPH SET VZERO OFF ON GRAPH SET GRWIDTH 1 ON GRAPH SET AUTOFIT ON ON GRAPH SET UNITS &WF_STYLE_UNITS ON GRAPH SET HAXIS &WF_STYLE_WIDTH ON GRAPH SET VAXIS &WF_STYLE_HEIGHT ON GRAPH SET LOOKGRAPH BAR 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, ORIENTATION=LANDSCAPE, $ TYPE=DATA, COLUMN=N1, BUCKET=color, $ TYPE=DATA, COLUMN=N2, BUCKET=x-axis, $ TYPE=DATA, COLUMN=N3, BUCKET=y-axis, $ TYPE=DATA, COLUMN=N4, BUCKET=y-axis, $ TYPE=HEADING, JUSTIFY=CENTER, $ TYPE=HEADING, LINE=1, ITEM=1, OBJECT=TEXT, FONT='ARIAL', SIZE=12, COLOR=RGB(32 0 32), STYLE=BOLD, $ *GRAPH_SCRIPT setReportParsingErrors(false); setSelectionEnableMove(false); setLogScale(getY1Axis(),true); setDataTextDisplay(true); setTextRotation(getDataText(),1); *END ENDSTYLE ENDThis message has been edited. Last edited by: FP Mod Chuck,
8.2.01, Windows 10/UNIX System Services, Excel PDF HTML Text
The setTextRotation(getO1Label(),1) only rotates the label located along the X-axis, it does not rotate the totals label at the top of the BAR on the chart. The getDataText function is still being ignored.
8.2.01, Windows 10/UNIX System Services, Excel PDF HTML Text
I don't think that there is an attribute in either PFJ or Moonbeam charting engines that allow you to do this although you might like to attempt changing the CSS in a function callback within the *GRAPH_JS (Moonbeam) section.
T
In FOCUS since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2
WebFOCUS App Studio 8.2.06 standalone on Windows 10
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004