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     [SOLVED]pie ring chart

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED]pie ring chart
 Login/Join
 
Platinum Member
posted
Hi,
Looking to get a result like the image below but not sure how to go about it.
Tried PIE Ring chart but not sure how to change the Total label in the center just like below.

Thanks for the help in advance.

This message has been edited. Last edited by: <Emily McAllister>,


WebFOCUS 8202M
 
Posts: 167 | Location: Montreal | Registered: September 23, 2014Report This Post
Master
posted Hide Post
My company blocks dropbox, so images will not come through you might of posted on it. Try using a 3rd party like cloudinary.com.

They even blocked tinypic.com. Frowner



- FOCUS Man, just FOCUS!
-----------------------------
Product: WebFOCUS
Version: 8.1.04
Server: Windows 2008 Server
 
Posts: 578 | Registered: October 01, 2014Report This Post
Member
posted Hide Post
I cant see the image.Please post it.


WebFOCUS 8
Windows, All Outputs
 
Posts: 23 | Registered: April 16, 2015Report This Post
Expert
posted Hide Post
Check out this sharing post from Porter on "Donut" charts - link to post

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
Expert
posted Hide Post
Managed to get this using the "numberFormat" setting for "totalLabel". If you are careful with the prefix and suffix attributes, then you can achieve something close to what you want. It might behave in a weird manner when you resize though, so ensure that you design the content with that in mind.

I'm actually using a variable to display the percentage but the chart is not displaying the decimal point! Probably because I'm using it in a manner not intended!!

I'll post the sample code when IE-EDGE behaves!!

T




In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
Expert
posted Hide Post
This is the relevant section of code to be placed within the WF style sheet.

*GRAPH_JS
-*riserBevel of none makes the chart 2D delivering the flat look
"riserBevel":"none",
-*The holeSize property of a % will maintain the pie radius proportion no matter what size your chart is. This is better than using a fixed number of pixels
pieProperties: {
	holeSize: '80%',
    totalLabel: {visible: true,
                 font: '10pt Arial',
                 color: '#808080',
                 numberFormat: {mode: 'numeric',
                                thousandSep: ',',
                                decimalSep: '.',
                                decimalPlaces: 2,
                                grouping: 'M', // One of 'K', 'M', 'B', 'T'
                                prefix: '<center>Day<br />', // added to the front of the label
                                suffix: '<br /><br />% Plan<br />&MYPCENT.EVAL</center>', // added to the end of the label
                                }
                 }
}
*END


T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
Master
posted Hide Post



- FOCUS Man, just FOCUS!
-----------------------------
Product: WebFOCUS
Version: 8.1.04
Server: Windows 2008 Server
 
Posts: 578 | Registered: October 01, 2014Report This Post
Platinum Member
posted Hide Post
you guys are awesome.
Sorry for the late reply as I was out sick Frowner


WebFOCUS 8202M
 
Posts: 167 | Location: Montreal | Registered: September 23, 2014Report This Post
Expert
posted Hide Post
Hope you're well recovered Smiler

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report 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     [SOLVED]pie ring chart

Copyright © 1996-2020 Information Builders