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

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [WORKAROUND] Display percent in pie chart legend
Go
New
Search
Notify
Tools
Reply
  
[WORKAROUND] Display percent in pie chart legend
 Login/Join
 
Expert
posted
I'm sure that the percent associated with a pie slice can be displayed in the legend of a pie chart. However, I cannot get it to do so in the Advanced Graph Assistant. Would someone please let me know how to accomplish this?
Thanks in Advance
-Doug

This message has been edited. Last edited by: Doug,


   In FOCUS Since 1983 ~ from FOCUS to WebFOCUS.
   Most recent: 8204 Gen 48 in Test and Production.
 
Posts: 3041 | Location: Middle Tennessee [8204M Gen48 in Test&Prod] | Registered: February 23, 2005Reply With QuoteReport This Post
<JG>
posted
No it can't unfortunately.

You can not display data values in a legend

A possible trick is to actually concat the data value to the sort key

so for example

TABLE FILE CAR
SUM PCT.DEALER_COST
COMPUTE CAR_PCT/A50= CAR || ' ' | FTOA(C1,'D12.2%','A15'); NOPRINT
BY TOTAL CAR_PCT
ON TABLE SET HOLDLIST PRINTONLY
ON TABLE HOLD
END
-RUN
GRAPH FILE HOLD
SUM DEALER_COST
ACROSS CAR_PCT
etc.
 
Reply With QuoteReport This Post
Expert
posted Hide Post
Thanks JG,

That's what I thought... I'll check it out as per your suggestion. "They" want the legend to show the percent as well as the field. So, that's what they'll get.

-Doug
 
Posts: 3041 | Location: Middle Tennessee [8204M Gen48 in Test&Prod] | Registered: February 23, 2005Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [WORKAROUND] Display percent in pie chart legend

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