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     [CASE OPENED] Chart changes % to "infinity"

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CASE OPENED] Chart changes % to "infinity"
 Login/Join
 
Gold member
posted
I have a ring chart that is broken out into a few pieces, all showing %age of whole. Whenever i click on "Data Labels" under the SERIES ribbon, it shows "label display" as 'PERCENT VALUE'. One of the options is NAME and PERCENT Value, which is what i want. Whenever i click on that value, the name comes onto the ring chart, but in the parenthesis (where the % is supposed to be) it changes it to "infinity". If i cancel and put the label display BACK to where it was, it does not update at all and leaves it at "infinity". I have posted below the original chart that just puts the %ages of the pie, vs what happens whenever i choose "percent AND name" below that.

Chart1:
ENGINE INT CACHE SET ON
-DEFAULTH &WF_STYLE_UNITS='PIXELS';
-DEFAULTH &WF_STYLE_HEIGHT='405.0';
-DEFAULTH &WF_STYLE_WIDTH='770.0';
-DEFAULTH &WF_TITLE='WebFOCUS Report';
GRAPH FILE wfx_settings_compare
-* Created by Info Assist for Graph
SUM WFX_SETTINGS_COMPARE.WFX_SETTINGS_COMPARE.TOTAL_MISMATCHES
BY WFX_SETTINGS_COMPARE.WFX_SETTINGS_COMPARE.DIV_DESCS AS 'Total WFX Settings Mismatched'
BY WFX_SETTINGS_COMPARE.WFX_SETTINGS_COMPARE.SITE_ALIASS AS 'SITE'
ON GRAPH PCHOLD FORMAT JSCHART
ON GRAPH SET VZERO OFF
ON GRAPH SET HTMLENCODE ON
ON GRAPH SET GRAPHDEFAULT OFF
ON GRAPH SET EMBEDHEADING ON
ON GRAPH SET GRWIDTH 1
ON GRAPH SET AUTOFIT ON
ON GRAPH SET UNITS &WF_STYLE_UNITS
ON GRAPH SET HAXIS &WF_STYLE_WIDTH
ON GRAPH SET VAXIS &WF_STYLE_HEIGHT
ON GRAPH SET LOOKGRAPH PIE
ON GRAPH SET AUTOFIT ON
ON GRAPH SET STYLE *
*GRAPH_SCRIPT
setPieDepth(0);
setPieTilt(0);
setDepthRadius(0);
setPieFeelerTextDisplay(1);
setPlace(true);
setCurveFitEquationDisplay(false);
*END
INCLUDE=IBFS:/FILE/IBI_HTML_DIR/javaassist/intl/EN/ENIADefault_combine.sty,$
TYPE=REPORT, TITLETEXT=&WF_TITLE.QUOTEDSTRING, $
TYPE=DATA, COLUMN=N1, BUCKET=column, $
TYPE=DATA, COLUMN=N2, BUCKET=color, $
TYPE=DATA, COLUMN=N3, ALT='SETTINGS MISMATCH FULL REPORT HTML', TARGET='_blank', BUCKET=measure, FOCEXEC=IBFS:/WFC/Repository/PSG_Comcast_Custom_Reports/WFX/SETTINGS_MISMATCH_FULL_REPORT_HTML.fex(DIVISION=WFX_SETTINGS_COMPARE.WFX_SETTINGS_COMPARE.DIV_DESCS), $
*GRAPH_SCRIPT
setReportParsingErrors(false);
setSelectionEnableMove(false);
setDisplay(getLegendArea(),false);
setDataTextDisplay(true);
setPieFeelerTextDisplay(1);
setDisplay(getPieLabel(),false);
setPieTilt(0);
setPieDepth(0);
setDepthRadius(0);
setDepthAngle(0);
*GRAPH_JS_FINAL
"pieProperties": {
"holeSize": "65%"
},
"agnosticSettings": {
"chartTypeFullName": "Pie_Ring"
}
*END
ENDSTYLE
END
-RUN

-*IA_GRAPH_FINISH



Now once i click the "Percent and Name", the label changes from the %age to the name (good), but the percent then shows "infinity" for who knows what reason but you folks Smiler.

ENGINE INT CACHE SET ON
-DEFAULTH &WF_STYLE_UNITS='PIXELS';
-DEFAULTH &WF_STYLE_HEIGHT='405.0';
-DEFAULTH &WF_STYLE_WIDTH='770.0';
-DEFAULTH &WF_TITLE='WebFOCUS Report';
GRAPH FILE wfx_settings_compare
-* Created by Info Assist for Graph
SUM WFX_SETTINGS_COMPARE.WFX_SETTINGS_COMPARE.TOTAL_MISMATCHES
BY WFX_SETTINGS_COMPARE.WFX_SETTINGS_COMPARE.DIV_DESCS AS 'Total WFX Settings Mismatched'
BY WFX_SETTINGS_COMPARE.WFX_SETTINGS_COMPARE.SITE_ALIASS AS 'SITE'
ON GRAPH PCHOLD FORMAT JSCHART
ON GRAPH SET VZERO OFF
ON GRAPH SET HTMLENCODE ON
ON GRAPH SET GRAPHDEFAULT OFF
ON GRAPH SET EMBEDHEADING ON
ON GRAPH SET GRWIDTH 1
ON GRAPH SET AUTOFIT ON
ON GRAPH SET UNITS &WF_STYLE_UNITS
ON GRAPH SET HAXIS &WF_STYLE_WIDTH
ON GRAPH SET VAXIS &WF_STYLE_HEIGHT
ON GRAPH SET LOOKGRAPH PIE
ON GRAPH SET AUTOFIT ON
ON GRAPH SET STYLE *
*GRAPH_SCRIPT
setPieDepth(0);
setPieTilt(0);
setDepthRadius(0);
setPieFeelerTextDisplay(1);
setPlace(true);
setCurveFitEquationDisplay(false);
*END
INCLUDE=IBFS:/FILE/IBI_HTML_DIR/javaassist/intl/EN/ENIADefault_combine.sty,$
TYPE=REPORT, TITLETEXT=&WF_TITLE.QUOTEDSTRING, $
TYPE=DATA, COLUMN=N1, BUCKET=column, $
TYPE=DATA, COLUMN=N2, BUCKET=color, $
TYPE=DATA, COLUMN=N3, ALT='SETTINGS MISMATCH FULL REPORT HTML', TARGET='_blank', BUCKET=measure, FOCEXEC=IBFS:/WFC/Repository/PSG_Comcast_Custom_Reports/WFX/SETTINGS_MISMATCH_FULL_REPORT_HTML.fex(DIVISION=WFX_SETTINGS_COMPARE.WFX_SETTINGS_COMPARE.DIV_DESCS), $
*GRAPH_SCRIPT
setReportParsingErrors(false);
setSelectionEnableMove(false);
setDisplay(getLegendArea(),false);
setDataTextDisplay(true);
setPieFeelerTextDisplay(1);
setDisplay(getPieLabel(),false);
setPieTilt(0);
setPieDepth(0);
setDepthRadius(0);
setDepthAngle(0);
setPieLabelDisplay(3);
*GRAPH_JS_FINAL
"pieProperties": {
"holeSize": "65%"
},
"agnosticSettings": {
"chartTypeFullName": "Pie_Ring"
}
*END
ENDSTYLE
END
-RUN

-*IA_GRAPH_FINISH

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


AS Version: 8201
Gen: 10202016
Windows, All Outputs
 
Posts: 49 | Location: St. Louis | Registered: December 13, 2016Report This Post
Virtuoso
posted Hide Post
What version/GEN of WebFOCUS are you running?


WebFOCUS 8206, Unix, Windows
 
Posts: 1853 | Location: New York City | Registered: December 30, 2015Report This Post
Gold member
posted Hide Post
Version: 8201
Gen: 10202016


AS Version: 8201
Gen: 10202016
Windows, All Outputs
 
Posts: 49 | Location: St. Louis | Registered: December 13, 2016Report This Post
Virtuoso
posted Hide Post
It looks like this is a bug. You may want to open a case with IB Tech Support so they let you know when a fix is available.


WebFOCUS 8206, Unix, Windows
 
Posts: 1853 | Location: New York City | Registered: December 30, 2015Report This Post
Gold member
posted Hide Post
ok, it looks like setPieLabelDisplay(3) is the culprit. I cant set that to any %age state and it not turn into 'infinity'. I remove that line and the % comes back.

I'll have the WF team at my company call this in.

Thanks!


AS Version: 8201
Gen: 10202016
Windows, All Outputs
 
Posts: 49 | Location: St. Louis | Registered: December 13, 2016Report This Post
Platinum Member
posted Hide Post
BSBAL18 ,

Pie Multi does not supporting with Bucket , use GRXAXIS and remove bucket , Try this

ENGINE INT CACHE SET ON
-DEFAULTH &WF_STYLE_UNITS='PIXELS';
-DEFAULTH &WF_STYLE_HEIGHT='405.0';
-DEFAULTH &WF_STYLE_WIDTH='770.0';
-DEFAULTH &WF_TITLE='WebFOCUS Report';
GRAPH FILE car
-* Created by Info Assist for Graph
SUM CAR.BODY.SALES
BY CAR.ORIGIN.COUNTRY
BY CAR.COMP.CAR
ON GRAPH PCHOLD FORMAT JSCHART
ON GRAPH SET VZERO OFF
ON GRAPH SET HTMLENCODE ON
ON GRAPH SET GRAPHDEFAULT OFF
ON GRAPH SET EMBEDHEADING ON
ON GRAPH SET GRWIDTH 4
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 1
ON GRAPH SET GRLEGEND 0
ON GRAPH SET GRXAXIS 1
ON GRAPH SET LOOKGRAPH PIEMULTI
ON GRAPH SET AUTOFIT ON
ON GRAPH SET STYLE *
*GRAPH_SCRIPT
setPieDepth(0);
setPieTilt(0);
setDepthRadius(0);
setCurveFitEquationDisplay(false);
setPlace(true);
setPieFeelerTextDisplay(1);
*END
INCLUDE=IBFS:/FILE/IBI_HTML_DIR/javaassist/intl/EN/ENIADefault_combine.sty,$
TYPE=REPORT, TITLETEXT=&WF_TITLE.QUOTEDSTRING, $
*GRAPH_SCRIPT
setReportParsingErrors(false);
setSelectionEnableMove(false);
setDisplay(getLegendArea(),false);
setDataTextDisplay(true);
setPieFeelerTextDisplay(1);
setDisplay(getPieLabel(),false);
setPieTilt(0);
setPieDepth(0);
setDepthRadius(0);
setDepthAngle(0);
setPieLabelDisplay(3);
*GRAPH_JS
"pieProperties": {
"holeSize": "65%"
},
"agnosticSettings": {
"chartTypeFullName": "Pie_Ring"
}
,
*END
ENDSTYLE
END
-RUN

-*IA_GRAPH_FINISH
-RUN


WF Production :- WF:8.0.0.4, 8.1.05 App-studio/Developer Studio(8.1.x) ,
8.2.0.1M , 8.2.0.2 (App-Studio8.2.x),
InfoAssist/+, InfoDiscovery
Output format:-AHTML, PDF, Excel, HTML
Platform:-Windows 7, 8,10
 
Posts: 186 | Location: Infobuild India | Registered: August 28, 2015Report This Post
Silver Member
posted Hide Post
FWIW, I've noticed in 8.201 that you have to be careful about divide by zero situations.

In previous versions it would just handle it if you were lazy and had a 0 denominator.

Now If you don't handle it you get ******************************** in the field.

Not sure if this applies to you, but we had to change our handling of those.


Production: WebFOCUS 8.202M
QA: WebFOCUS 8.206.01
Windows/SQL
 
Posts: 37 | Registered: May 24, 2017Report 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     [CASE OPENED] Chart changes % to "infinity"

Copyright © 1996-2020 Information Builders