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     [CLOSED] Data Label Format Rounding Issue

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Data Label Format Rounding Issue
 Login/Join
 
Platinum Member
posted
This seems simple, and I have read about customizing data label formats on the forum and in the documentation, but perhaps I am missing something.

Here is the snippet of code I'm working with:

setTextFormatPreset(getDataText(),-1);
setTextFormatPattern(getDataText(),"$#.#")

I'm using a custom format because I want to show my amounts that are in billions as $1.2B. The challenge is that I have several values a less than a billion. So, what AppStudio is currently doing to my graph is giving me $911.4M instead of $0.9B. Is there a way to add the decimal place? I've been reading about PresetNumberFormats. When I try to use preset value 10 or 11, I get $0B. That's definitely not what I need. Thoughts?

The graph fex is very small, so I want to keep the fix simple.

This message has been edited. Last edited by: FP Mod Chuck,


WebFocus 8.2.04
WebFocus 8.2.04

 
Posts: 191 | Registered: September 18, 2015Report This Post
Gold member
posted Hide Post
There is no straight forward way of doing it.
you can check the following post
Data Label workaround


WF 8.2.04
Windows/Unix
All Formats
In Focus since 2006
 
Posts: 74 | Location: UK | Registered: September 17, 2018Report 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     [CLOSED] Data Label Format Rounding Issue

Copyright © 1996-2020 Information Builders