Focal Point Banner


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.



Read-Only Read-Only Topic
Go
Search
Notify
Tools
Waterfall chart
 Login/Join
 
Platinum Member
posted
I would like to be able to change the value that is being displayed in the graph bars to the value that is being diplayed when hovering over the bar. The value showing in the bar is a whole number and the hover value is a percentage. I would like for the percentage to show in the bar.

DEFINE FILE CAR
ENGLAND_SLS /D8 = IF COUNTRY EQ 'ENGLAND' THEN SALES ELSE 0;
JAPAN_SLS /D8 = IF COUNTRY EQ 'JAPAN' THEN SALES ELSE 0;
ITALY_SLS /D8 = IF COUNTRY EQ 'ITALY' THEN SALES ELSE 0;
GERMANY_SLS /D8 = IF COUNTRY EQ 'W GERMANY' THEN SALES ELSE 0;
END
TABLE FILE CAR
SUM
COMPUTE TOT_SALES/D8 = ENGLAND_SLS+JAPAN_SLS+ITALY_SLS+GERMANY_SLS;
E_SLS/D8.2% = ((ENGLAND_SLS/TOT_SALES)* 100) * (-1);
J_SLS/D8.2% = ((JAPAN_SLS/TOT_SALES)* 100) * (-1);
I_SLS/D8.2% = ((ITALY_SLS/TOT_SALES)* 100) * (-1);
G_SLS/D8.2% = ((GERMANY_SLS/TOT_SALES)* 100) * (-1);
TOT_PCT/D8.2% = (E_SLS + J_SLS + I_SLS + G_SLS) * (-1);
ON TABLE HOLD
END
GRAPH FILE HOLD
SUM TOT_PCT
E_SLS
J_SLS
I_SLS
G_SLS
ON GRAPH PCHOLD AS HOLD FORMAT PNG
ON GRAPH SET GRAPHDEFAULT OFF
ON GRAPH SET GRMERGE ADVANCED
ON GRAPH SET GRMULTIGRAPH 0
ON GRAPH SET GRLEGEND 0
ON GRAPH SET GRXAXIS 0
ON GRAPH SET HAXIS 770
ON GRAPH SET VAXIS 405
ON GRAPH SET UNITS PIXELS
ON GRAPH SET LOOKGRAPH VWATERFL
ON GRAPH SET GRAPHSTYLE *
setTemplateFile("");
setReportParsingErrors(false);
setSelectionEnableMove(false);
setPlace(true);
setTextString(getTitle(),"OTIF");
setDisplay(getTitle(),true);
setFontName(getDataText(),"Tahoma");
setDisplay(getLegendArea(),false);
setFillColor(getTitle(),new Color(0,0,0));
setFontName(getTitle(),"Tahoma");
setFontSizeAbsolute(getTitle(),true);
setFontSizeInPoints(getTitle(),14);
setTextString(getY1Title(),"Order Items");
setDisplay(getY1Title(),true);
setTextFormatPreset(getY1Label(),-1);
setTextFormatPattern(getY1Label(),"###,###");
setTextFormatPattern(getDataText(),"###,###");
setFillColor(getChartBackground(),new Color(255,255,255));
setFillColor(getAnnotationBox(0),new Color(255,255,255));
setDepthRadius(0);
setDepthAngle(0);
setBorderColor(getO1AxisLine(),new Color(32,0,32));
setBorderColor(getFrame(),new Color(32,0,32));
setShadowColor(getFrame(),new Color(192,192,192));
setFillColor(getFrame(),new Color(209,209,209));
setFillColor(getO1Label(),new Color(0,0,0));
setFontName(getO1Label(),"Tahoma");
setTextJustHoriz(getO1Label(),2);
setTextFormatPreset(getDataText(),-1);
setFillColor(getDataText(),new Color(0,0,255));
setTextRotation(getDataText(),3);
setFontSizeAbsolute(getDataText(),true);
setFontSizeInPoints(getDataText(),12);
setFontStyle(getDataText(),0);
setDisplay(getWaterfallLine(),true);
setDisplay(getDataText(),true);
ENDSTYLE
END


WF 8 version 8.2.04. Windows.
In focus since 1990.
 
Posts: 189 | Location: pgh pa | Registered: October 06, 2004Report This Post
Virtuoso
posted Hide Post
When I run this graph I see on mouse over not a percentage, but the change between two bars.




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

 
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006Report This Post
Platinum Member
posted Hide Post
Frank,

That change between the bars is the value I would like to appear in the bar.


WF 8 version 8.2.04. Windows.
In focus since 1990.
 
Posts: 189 | Location: pgh pa | Registered: October 06, 2004Report This Post
Guru
posted Hide Post
Try:
setStackedDataValueSum(false);


ttfn, kp


Access to most releases from R52x, on multiple platforms.
 
Posts: 346 | Location: Melbourne Australia | Registered: April 15, 2003Report This Post
Platinum Member
posted Hide Post
piipster,

That worked. Thank you.


WF 8 version 8.2.04. Windows.
In focus since 1990.
 
Posts: 189 | Location: pgh pa | Registered: October 06, 2004Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic


Copyright © 1996-2020 Information Builders