Jump to content

Multi Pie GRWIDTH


Martin Yergeau

Recommended Posts

Hi,

I have a multi-pie chart that render as I wish when ran by itself. Meaning that I have 4 pie per row squeezed within about a width of 6 inches.

However, when I add the fex into a portal (8204), it still have 4 pie per row but they takes about 12 inches each. Meaning that I have to scroll left/right to see them all.

What is missing ?

ENGINE INT CACHE SET ON
SET PAGE-NUM=NOLEAD
SET HTMLENCODE=ON
SET ARGRAPHENGINE=JSCHART
SET EMBEDHEADING=ON
SET GRAPHDEFAULT=OFF
-DEFAULTH &WF_STYLE_UNITS='PIXELS';
-DEFAULTH &WF_STYLE_HEIGHT='180.0';
-DEFAULTH &WF_STYLE_WIDTH='150.0';

GRAPH FILE RPTDATA
SUM MEAS/P12C AS ''
BY AGINGWK    NOPRINT
BY CAT1CODE
ON GRAPH PCHOLD FORMAT JSCHART
ON GRAPH SET VZERO OFF
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 LOOKGRAPH PIE
ON GRAPH SET AUTOFIT ON
ON GRAPH SET STYLE *
*GRAPH_SCRIPT
setPieDepth(0);
setPieTilt(0);
setDepthRadius(0);
setPlace(true);
setCurveFitEquationDisplay(false);
setPieFeelerTextDisplay(1);
*END
*GRAPH_JS_FINAL
"pieProperties": {
    holeSize: "60%",
    totalLabel: {visible: true, font: 'Bold 12pt Sans-Serif', color: 'rgb(23,86,62)', numberFormat: '{{auto}}'}
},
"agnosticSettings": {
    "chartTypeFullName": "Pie_Multi"
}
*END
ENDSTYLE
END

Expected

image.png.d757704c78a7b6570bab193c8f25db47.png

On portal

image.thumb.png.4cf249522cdfc185ec669b860e26db37.png

Edited by Martin Yergeau
Link to comment
Share on other sites

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...