Jump to content

Recommended Posts

Posted

 

In the GUI I set the object to a percent and set to show the sign...but it does not appear?

 

image.png.55dc05645f413ca125066dc8a32d3e75.png

 

 

 

image.png.d130a389158fff8328c48097b74ac23e.png

 

 

image.png.14c1b2686b1de3a1a52c0bed5e6dd009.png

 

Code: 

 


ENGINE INT CACHE SET ON
SET PAGE-NUM=NOLEAD
-DEFAULTH &WF_HTMLENCODE=ON;
SET HTMLENCODE=&WF_HTMLENCODE

SET ARGRAPHENGINE=JSCHART
-DEFAULTH &WF_EMPTYREPORT=ON;
SET EMPTYREPORT=&WF_EMPTYREPORT

SET EMBEDHEADING=ON
SET GRAPHDEFAULT=OFF
-DEFAULTH &WF_ARVERSION=1;
SET ARVERSION=&WF_ARVERSION

-DEFAULTH &WF_STYLE_UNITS='PIXELS';
-DEFAULTH &WF_STYLE_HEIGHT='405.0';
-DEFAULTH &WF_STYLE_WIDTH='770.0';

-DEFAULTH &WF_TITLE='WebFOCUS Report';
GRAPH FILE foccache/hold_codingchartdata
-* Created by Info Assist for Graph
SUM PCT.HOLD_CODINGCHARTDATA.SEG01.TOTALUNITS/I5%
BY HOLD_CODINGCHARTDATA.SEG01.CPT_LEVEL
HEADING
"Overall Severity"
ON GRAPH PCHOLD FORMAT HTML
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 VBAR
ON GRAPH SET STYLE *
*GRAPH_SCRIPT

setPieDepth(0);
setPieTilt(0);
setDepthRadius(0);
setPlace(true);
setCurveFitEquationDisplay(false);

*END
INCLUDE=IBFS:/FILE/IBI_HTML_DIR/javaassist/intl/EN/ENIADefault_combine.sty,$
TYPE=REPORT, TITLETEXT=&WF_TITLE.QUOTEDSTRING, $
TYPE=HEADING, JUSTIFY=LEFT, FONT='ARIAL', SIZE=14, STYLE=BOLD, $
*GRAPH_SCRIPT

setReportParsingErrors(false);
setSelectionEnableMove(false);
setDisplay(getDataText(0), true);
setDataTextDisplay(true);
setFontSizeAbsolute(getDataText(),true);
setAutofit(getDataText(),false);
setPlaceResize(getDataText(),0);
setDisplay(getY1Title(),false);
setDisplay(getO1MajorGrid(),false);
setFontSizeInPoints(getDataText(),10);
setFontStyle(getDataText(),0);

*END
ENDSTYLE
END

-RUN

Posted

Hi Robert,

To use percentages on the data labels, you can go to the Data Labels option on the Series tab and, from the split menu button, select More Data Label Options

image.png.f5bca1d809f5e9fe8f714ce2f5c239d2.png

 

Then in the dialog select a Percent ... / 100 option (since the prefix operator you're using already recalculates

image.png.e6028cf0e5978d45c656904547281cfd.png

 

You should then get percentage labels

image.png.05c15050480f8d01236cf5946a09ee4c.png

  • Like 3
  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...