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.
Hi All, I am new to webFOCUS.What i am trying to implement is that i have two fields (a) Goal (b) Actual.I am using a ring pie chart where Goal is my completer ring and Actual has to fill the pie based on the percentage values. I was able to implement it but what happens is when the percentage values goes below 7% the actual fields color do not show up on the ring. Is there any work around i can do to show up the color even when percentage goes below 7.
I am attaching sample car code with the same logic
DEFINE FILE CAR HEIGHT2/D10.2 = 0.07 * .07; HEIGHT1/D10.2 = 0.07 - HEIGHT2; END GRAPH FILE CAR -* Created by Info Assist for Graph SUM HEIGHT2 AS 'Actual' HEIGHT1 AS 'PCT' WHERE ( CAR.COMP.CAR EQ 'JAGUAR' ) AND ( CAR.ORIGIN.COUNTRY EQ 'ENGLAND' );
ON GRAPH PCHOLD FORMAT JSCHART ON GRAPH SET LOOKGRAPH PIE ON GRAPH SET GRMERGE ON -*ON GRAPH SET HAXIS &WF_STYLE_WIDTH -*ON GRAPH SET YAXIS &WF_STYLE_HEIGHT ON GRAPH SET GRMULTIGRAPH 0 ON GRAPH SET GRLEGEND 1 ON GRAPH SET GRXAXIS 1 ON GRAPH SET AUTOFIT ON ON GRAPH SET VZERO OFF ON GRAPH SET HTMLENCODE ON ON GRAPH SET STYLE * -*INCLUDE = IBFS:/WFC/Repository/Event_Intelligence/Hidden_Content/Style_Images/ENFlat.sty, *GRAPH_JS -*riserBevel of none makes the chart 2D delivering the flat look #808080 -*"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: '60%', totalLabel: {visible: true, font: '10pt Helvetica', color: '#6d6e71', numberFormat: {mode: 'numeric', thousandSep: ',', decimalSep: '.', decimalPlaces: 0, grouping: '', // One of 'K', 'M', 'B', 'T' suffix: '%', // added to the end of the label } } }, -*series: [ -* {series: 0, color: '&KPI_COLOR_ACT',showDataValues: false}, -* {series: 1, color: '&KPI_COLOR_GOAL',showDataValues: false} -*] *END TYPE=REPORT, TITLETEXT=Daily Summary KPI, $ TYPE=HEADING, JUSTIFY=CENTER, FONT='Trebuchet MS', SIZE=18, COLOR=RGB(66 70 73), STYLE=BOLD, $ ENDSTYLE ON GRAPH SET GRAPHSTYLE * *GRAPH_SCRIPT setPlace(true); setColorMode(1); setDepthRadius(0); setDepthAngle(0); setToolTipDisplay(false); setReportParsingErrors(false); setSelectionEnableMove(true); setTransparentBorderColor(getChartBackground(),true); setTransparentBorderColor(getSeries(*), true); setTransparentBorderColor(getFrame(),true); setDisplay(getDataText(),false); setPlaceResize(getDataText(),0); setTransparentBorderColor(getSeries(0),true); setFontStyle(getTitle(),0); setDisplay(getLegendArea(),false); setScaleFromZero(false); setFillColor(getFrame(),new Color(255,255,255)); *END END -RUNThis message has been edited. Last edited by: FP Mod Chuck,