Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Go
New
Search
Notify
Tools
Reply
  
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, 2003Reply With QuoteReport 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
 
Reply With QuoteReport 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, 2003Reply With QuoteReport 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.
 
Reply With QuoteReport This Post
  Powered by Social Strata  
 


Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.