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] Donut Chart Total Font Size issue

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Donut Chart Total Font Size issue
 Login/Join
 
Member
posted
I cannot seem to control the font size of the total inside a donut chart. In Dev Studio it works but once called in the portal the portal seems to scale the font depending on the size of the number/text it is displaying. I run the fex in DS and it is a 12pt font but in the portal it displays 16pt. I am displaying many donut charts on a dashboard and I need the totals to be all the same font size. Anyone else experience this? Got a work around? I am currently trying to use javascript to format the number to get all numbers near the same size using K/M/B.

totalLabel: {
visible: true,
font: '16pt Roboto', <-- This works in Web Dev but not in dashboard
Thanks

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


WebFOCUS 8
Windows, All Outputs
 
Posts: 4 | Registered: December 15, 2017Report This Post
Virtuoso
posted Hide Post
Hi don't think that it's an issue.

I think that the selected font is the maximum used font. Then depending on available spaces JSCHART (HTML5) is reducing the font to be able to display the whole data.

I also think that hhen you execute from DevStudio the report is displayed with its real size according to ON GRAPH SET HAXIS &WF_STYLE_WIDTH and ON GRAPH SET VAXIS &WF_STYLE_HEIGHT
When it's from the portal/dashboard it use the frame space.

I have the following in my donut graph and the font size change anyway when some value are taking "more" spaces then other.

*GRAPH_JS_FINAL
"pieProperties": {
    holeSize: "40%",
    totalLabel: {visible: true, font: 'Bold 12pt Sans-Serif', color: 'rgb(8,97,74)', numberFormat: '{{auto}} $'}
},
*END


Even playing with the hole size have no effect. The totalLabel is probably taking a % of the hole size.


WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
 
Posts: 2409 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013Report 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] Donut Chart Total Font Size issue

Copyright © 1996-2020 Information Builders