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
graph percentage
 Login/Join
 
Gold member
posted
I am using Dual Axis Clustered graph. One of the Y-axis show the percentages.

I am able to get the Y-axis display as #% format. But this #% format is multiplying the percentage value*100.
setTextFormatPreset(getY2Label(),2);

How to display the percentage as 10%,20% etc., instead of displaying the percentage as 100%,200% etc., on the Y-axis label.

Thanks.
 
Posts: 76 | Registered: October 28, 2003Report This Post
<JG>
posted
That's exactly what the affect is according to the documentation

�% Divides by 100 and show as percentage.�

Which means you must not supply it a true percentage value to work with

You probably create your percentage using something like
PCENT/D12.2=((RETAIL_COST - DEALER_COST)/RETAIL_COST)*100;
Just change it to
PCENT/D12.2=((RETAIL_COST - DEALER_COST)/RETAIL_COST);

If your percentage is coming in as a value from your datasource then divide it by 100 in a define
 
Report This Post
Gold member
posted Hide Post
Hi JG,

Thank you for the explanation. If I divide the percent by hundred, when I do the mouse over on the plot points, the percentage would be shown as 0.8 instead of 80%. So, basically what I want do is diplay the mouseover as 80% as well as the axis value as 80%. does that make sense?
 
Posts: 76 | Registered: October 28, 2003Report This Post
<JG>
posted
That makes perfect sense and I don�t have an answer, but I�ll cogitate it over the weekend and might find something. Basic problem is that mouseover displays actual value and not graphical value.
 
Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic


Copyright © 1996-2020 Information Builders