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.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Displaying negative number data in bar graphs

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Displaying negative number data in bar graphs
 Login/Join
 
Member
posted
I am showing negative number data on my horizontal bar graph and our standards are to display negative numbers with brackets instead of (-) minus signs. My data is formatted as D5B but the graph defaults to the minus sign.
 
Posts: 19 | Registered: November 30, 2005Report This Post
Virtuoso
posted Hide Post
Using DataTextFormatPattern should do it for you. However, I cannot find a good example that demonstrates how to use it. Check with IB for assistance.


Thanks!

Mickey

FOCUS/WebFOCUS 1990 - 2011
 
Posts: 995 | Location: Gaithersburg, MD, USA | Registered: May 07, 2003Report This Post
Member
posted Hide Post
The following commands seem to manipulate the formatting of my data on the bars but I still do not know how to force the negative sign to be a bracket.
setDisplay(getDataText(),true);
setDataTextFormat(-1);
setDataTextFormatPattern("##");
 
Posts: 19 | Registered: November 30, 2005Report This Post
Virtuoso
posted Hide Post
I'm taking a wild guess here but try changing the pattern to "##;[##]". I honestly have no idea if this will work.

setDataTextFormatPattern("##;[##]");


Thanks!

Mickey

FOCUS/WebFOCUS 1990 - 2011
 
Posts: 995 | Location: Gaithersburg, MD, USA | Registered: May 07, 2003Report This Post
Member
posted Hide Post
Worked perfectly. Thank You!
 
Posts: 19 | Registered: November 30, 2005Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Displaying negative number data in bar graphs

Copyright © 1996-2020 Information Builders