Focal Point
[SOLVED] Remove % from Liquid Gauge

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/4677012196

April 03, 2019, 03:52 PM
MReeder
[SOLVED] Remove % from Liquid Gauge
I am trying to remove the percent symbol from the Liquid Gauge WF Extension. According to the documentation i just need to add this to the *GRAPH_JS section of the style sheet. "properties": {
"displayPercent": false
}

I have tried in many areas of this section but it will not work. Can anyone tell me why or what I am doing incorrectly?

Thanks,

Marita

 
-* File: IBFS:/DEV-
ENGINE INT CACHE SET ON
SET PAGE-NUM=NOLEAD
SET ARGRAPHENGINE=JSCHART
SET EMBEDHEADING=ON
SET GRAPHDEFAULT=OFF
-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.SEATS
ON GRAPH PCHOLD FORMAT 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 LOOKGRAPH EXTENSION
ON GRAPH SET AUTOFIT ON
ON GRAPH SET STYLE *
*GRAPH_SCRIPT
setPieDepth(0);
setPieTilt(0);
setDepthRadius(0);
setPlace(true);
setCurveFitEquationDisplay(false);
*END
INCLUDE=IBFS:/FILE/IBI_HTML_DIR/ibi_themes/Warm.sty,$
TYPE=REPORT, TITLETEXT=&WF_TITLE.QUOTEDSTRING, $
TYPE=DATA, COLUMN=N1, BUCKET= >value, $
*GRAPH_SCRIPT
setReportParsingErrors(false);
setSelectionEnableMove(false);
*GRAPH_JS_FINAL
"pieProperties": {
    "holeSize": "0%"
},
"properties": {
	"displayPercent": false    
},
"chartType": "com.ibi.liquid_gauge",
"agnosticSettings": {
    "chartTypeFullName": "com.ibi.liquid_gauge"
}
*END
ENDSTYLE
END
-RUN

-*IA_GRAPH_FINISH
 

This message has been edited. Last edited by: MReeder,


WebFOCUS 8.2.02M
Windows
Server/8.2.02M
All Outputs
April 04, 2019, 02:12 AM
Tony A
You actually need to enclose it in extension specific properties -

*GRAPH_JS_FINAL
"extensions": {
   "com.ibi.liquid_gauge": {
      "displayPercent": false
   }
}
*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 
April 04, 2019, 09:42 AM
MReeder
Tony, Thanks that worked! Smiler

quote:
"extensions": {
"com.ibi.liquid_gauge": {
"displayPercent": false
}
}



WebFOCUS 8.2.02M
Windows
Server/8.2.02M
All Outputs