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. Moving forward, myibi is our community platform to learn, share, and collaborate. We have the same Focal Point forum categories in myibi, so you can continue to have all new conversations there. If you need access to myibi, contact us at myibi@ibi.com and provide your corporate email address, company, and name.


Connect to myibi
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [Closed] Graph chart in Millions

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[Closed] Graph chart in Millions
 Login/Join
 
Gold member
posted
Hello,

The user wants to see the pie in Millions. Currently the chart is showing as number. I appreciate your help. Thank you.

GRAPH FILE GRAPHDATA
-* Created by Info Assist for Graph
COMPUTE BYPD2/P17 = (&VALUE /Target)*13;
BY &BYNAME
ON GRAPH PCHOLD FORMAT JSCHART
ON GRAPH SET HTMLENCODE ON
ON GRAPH SET GRAPHDEFAULT OFF
ON GRAPH SET ARGRAPHENGIN JSCHART
ON GRAPH SET VZERO OFF
ON GRAPH SET GRWIDTH 1
ON GRAPH SET UNITS &WF_STYLE_UNITS
ON GRAPH SET HAXIS &WF_STYLE_WIDTH
ON GRAPH SET VAXIS &WF_STYLE_HEIGHT
ON GRAPH SET GRMERGE ADVANCED
ON GRAPH SET GRMULTIGRAPH 0
ON GRAPH SET GRLEGEND 0
ON GRAPH SET GRXAXIS 1
ON GRAPH SET LOOKGRAPH PIE
ON GRAPH SET AUTOFIT ON
ON GRAPH SET STYLE *
*GRAPH_SCRIPT

setPieDepth(0);
setPieTilt(0);
setDepthRadius(0);
setCurveFitEquationDisplay(false);
setPlace(true);
setPieFeelerTextDisplay(0);
setPieRingSize (40);
setDisplay ( getPieRingLabel(), true);
setFontName(getPieRingLabel(),"CALIBRI");
setFontSizeInPoints(getPieRingLabel(),17);
setFillColor(getSeries(0), new Color(57,96,142));
setFillColor(getSeries(1), new Color(144,58,56));
setFillColor(getSeries(2), new Color(116,140,65));
setFillColor(getSeries(3), new Color(95,73,121));
setFillColor(getSeries(4), new Color(54,129,149));
setFillColor(getSeries(5), new Color(186,112,50));
setFillColor(getSeries(6), new Color(69,114,167));
setFillColor(getSeries(7), new Color(170,70,67));
setFillColor(getSeries(8), new Color(137,165,78));
setFillColor(getSeries(9), new Color(113,88,143));
setFillColor(getSeries(10), new Color(65,152,175));
setFillColor(getSeries(11), new Color(219,132,61));
setFillColor(getSeries(12), new Color(79,129,189));
setFillColor(getSeries(13), new Color(192,80,77));
setLegendDisplay(true);
setFontName(getLegendText(),"CALIBRI");
setFontSizeInPoints(getLegendText(),8);
setFrameDisplay(false);
*END

*GRAPH_JS
-*legend:{visible: true, color:'black', font: 'Bold 6pt CALIBRI'},
pieProperties: {
explodeClick: {enabled: true},
label: {visible: false},
-* totalLabel: {visible: true, color:'white', font: 'Bold 17pt CALIBRI'},
},
series: [
{series:0, showDataValues: false},
{series:1, showDataValues: false},
{series:2, showDataValues: false},
{series:3, showDataValues: false},
{series:4, showDataValues: false},
{series:5, showDataValues: false},
{series:6, showDataValues: false},
{series:7, showDataValues: false},
{series:8, showDataValues: false},
{series:9, showDataValues: false},
{series:10, showDataValues: false},
{series:11, showDataValues: false},
{series:12, showDataValues: false},
{series:13, showDataValues: false}
],

dataLabels: {visible: true, color:'white', font: 'Bold 9pt CALIBRI'}

*END

ENDSTYLE
END

This message has been edited. Last edited by: Kathleen Butler,


WebFOCUS 8
Windows, All Outputs
 
Posts: 73 | Registered: April 06, 2016Report This Post
Master
posted Hide Post
I'm not sure this will help in your situation, but I highly recommend reading this thread:

[SOLVED]Abbreviating currency figure

I find it one of the more fascinating threads in this forum. The information might come in handy for you some day.


App Studio
WebFOCUS 8.1.05M
Windows, All Outputs
 
Posts: 594 | Location: Michigan | Registered: September 04, 2015Report 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     [Closed] Graph chart in Millions

Copyright © 1996-2020 Information Builders