Focal Point
[CASE-OPENED] Actual Value Line in HBOXPLOT

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

July 24, 2018, 12:36 PM
Doug
[CASE-OPENED] Actual Value Line in HBOXPLOT
What am I missing, in the GUI, to increase the length and width of the "Actual Value Line" in HBOXPLOT? That is, the black vertical line shown about 1/3 of the way into the green section. I need this to be more visible than it is. This will also be used for a drilldown to a detail report. Consider the following code and modify it as desired to make that happen Smiler
* Using 8202M Gen60 *


Thanks In Advance, Doug
-SET &TARGET = 75 ;
-SET &ACTUAL = 100 ;
-SET &MAX    = &TARGET * 2 ;
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';
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 GGSALES
SUM COMPUTE ACTUAL/I9C=DOLLARS/10 ; AS ''
WHERE GGSALES.SALES01.DOLLARS EQ 1000;
FOOTING
"TARGET > &TARGET ACTUAL:&ACTUAL MAX:&MAX"
ON GRAPH PCHOLD FORMAT JSCHART
-*ON GRAPH HOLD FORMAT JSCHART AS THISCHART
ON GRAPH SET VZERO ON
ON GRAPH SET GRAPHEDIT SERVER
ON GRAPH SET BARNUMB OFF
ON GRAPH SET 3D OFF
ON GRAPH SET GRID ON
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 EMBEDHEADING ON
ON GRAPH SET GRMERGE ADVANCED
ON GRAPH SET GRMULTIGRAPH 0
ON GRAPH SET GRLEGEND 0
ON GRAPH SET GRXAXIS 0
ON GRAPH SET LOOKGRAPH HBOXPLOT
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=FOOTING, JUSTIFY=CENTER, FONT='ARIAL', SIZE=8, COLOR=RGB(32 0 32), STYLE=BOLD, $
*GRAPH_SCRIPT
setReportParsingErrors(false);
setSelectionEnableMove(false);
setScaleMaxAuto(false);
setGaugeStartAngle(180.0);
setGaugeStopAngle(0.0);
setScaleMax(getY1Axis(),&MAX.EVAL);
setDisplay(getGaugeBand1(),true);
setGaugeBandMin(getGaugeBand1(),0);
setGaugeBandMax(getGaugeBand1(),&TARGET.EVAL);
setFillColor(getGaugeBand1(),new Color(255,128,128));
setDisplay(getGaugeBand1(),true);
setGaugeBandMin(getGaugeBand2(),&TARGET.EVAL);
setGaugeBandMax(getGaugeBand2(),&MAX.EVAL);
-*setGaugeBandMax(getGaugeBand2(),63);
setFillColor(getGaugeBand2(),new Color(128,255,128));
setDisplay(getGaugeBand3(),false);
setGaugeBandMin(getGaugeBand3(),0.0);
setGaugeBandMax(getGaugeBand3(),0.0);
setDisplay(getGaugeBand4(),false);
setGaugeBandMin(getGaugeBand4(),0.0);
setGaugeBandMax(getGaugeBand4(),0.0);
setDisplay(getGaugeBand5(),false);
setGaugeBandMin(getGaugeBand5(),0.0);
setGaugeBandMax(getGaugeBand5(),0.0);
setFontSizeAbsolute(getGaugeLabel(),false);
setGaugeTitlePosition(3);
setSeriesLabel(0," ");
setPlace(false);
setPiesPerRow(1);
setGaugeShowZeroLabel(false);
setGaugeMajorAutoStep(false);
setGridStep(getY1MajorGrid(),&TARGET.EVAL);
setGaugeMajorTickRelativeTickLength(0.0);
setGaugeMinorAutoStep(false);
setGridStep(getY1MinorGrid(),&TARGET.EVAL);
setGaugeMinorTickRelativeTickLength(0.0);
setGaugeRelativeInnerRadius(0.5);
setDisplay(getY1Label(),false);
setFillColor(getSeries(0),new Color(31,119,180));
setTransparentBorderColor(getSeries(0), true);
setDisplay(getO1Label(),false);
setDisplay(getO1Title(),false);
setDisplay(getO1AxisLine(),false);
setGridStepAuto(getY1MajorGrid(),false);
setScaleMustIncludeZero(getY1Axis(),false);
setDisplay(getY1Title(),false);
setDisplay(getY1AxisLine(),false);
setDisplay(getY1ZeroLine(),false);
setFillColor(getSeries(*),new Color(255,0,0));
setTransparentBorderColor(getSeries(*), true);
setScaleMinAuto(getY1Axis(),true);
setScaleMaxAuto(getY1Axis(),true);
*GRAPH_JS_FINAL
"xaxis": {
    "title": {
        "visible": false
    }
},
"pieProperties": {
    "holeSize": "0%"
},
"blaProperties": {
    "orientation": "horizontal"
},
"yaxis": {
    "title": {
        "visible": false
    }
},
"agnosticSettings": {
    "chartTypeFullName": "Special_Boxplot_Horizontal"
}
*END
ENDSTYLE
END
-RUN

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




   In FOCUS Since 1983 ~ from FOCUS to WebFOCUS.
   Current: WebFOCUS Administrator at FIS Worldpay | 8204, 8206
July 24, 2018, 02:51 PM
Doug
I added
"boxPlotProperties": {
   hatWidth: '100%', 
   drawHatAsBox: false,
   medianLine: {
      width: 1,
      color: 'black',
      dash: ''
   },
   "connectorLine": {
   hatWidth: '800%', 
      width: 10,
      color: 'black',
      dash: ''
   }
  
after the "agnosticSettings" and am almost there. I'd like to to exceed the height of the box, of at least be the same height.

This message has been edited. Last edited by: Doug,
July 24, 2018, 04:26 PM
Doug
Still looking for the answer to extending the height of the "Actual Value Line" and adding a hyperlink to it Music

This message has been edited. Last edited by: Doug,
July 28, 2018, 06:49 AM
Don Garland
Tried this in 8202 and same issue


WebFOCUS Administrator @ Worldpay FIS
PROD/DEV/TEST: 8204, SANDBOX: 8206 soon - BIP, Reportcaster, Resource Manager, EUM, HyperStage soon, DB: HIVE,Oracle,MSSQL
August 01, 2018, 04:03 PM
FP Mod Chuck
Doug

Sounds like you need to open a case with techsupport.


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats
August 02, 2018, 08:36 AM
Doug
Thanks Chuck, I'll do that with a reference to this post and a note in the original post subject line.