Focal Point
[CLOSED] Minor Grid Lines

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

May 07, 2018, 11:42 AM
evan.brown
[CLOSED] Minor Grid Lines
I'm having trouble controlling the minor grid lines in my chart. Using the CAR file as an example, in the code below I want the minor grid lines to display at the 0.5 value, but instead I get two grid lines between each major value instead of one. Anyone have any idea what I'm doing wrong? Thanks

  
GRAPH FILE CAR
SUM CNT.DST.MODEL
BY COUNTRY
ON GRAPH PCHOLD FORMAT JSCHART
ON GRAPH SET LOOKGRAPH VLINE
ON GRAPH SET STYLE *
*GRAPH_SCRIPT
setY1MinorGridDisplay(true);
setY1MinorGridStepAuto(false);
setY1MinorGridStep(0.5);
setY1MinorGridStyle(0);
*END
ENDSTYLE
END

This message has been edited. Last edited by: FP Mod Chuck,


WF 8.0.08 (Prod); WF 8.2.06 (Dev)
May 07, 2018, 04:09 PM
Spence
try this.

GRAPH FILE CAR
SUM CNT.DST.MODEL
BY COUNTRY
ON GRAPH PCHOLD FORMAT JSCHART
ON GRAPH SET LOOKGRAPH VLINE
ON GRAPH SET STYLE *
*GRAPH_SCRIPT
-*setY1MinorGridDisplay(true);
-*setY1MinorGridStepAuto(false);
-*setY1MinorGridStep(0.5);
-*setY1MinorGridStyle(0);
setReportParsingErrors(false);
setSelectionEnableMove(false);
setY1MinorGridDisplay(true);
setY1MinorGridStepAuto(false);
setY1MinorGridStep(0.5);
setY1MinorGridStyle(0);
setLineWidth(getY1MinorGrid(),3);
setAltFmtFrameNumColors(getY1AltFmtFrame(),5);
setGridCount(getY1MinorGrid(),1);
setDisplay(getY1MinorGrid(),true);
setFillColor(getFrame(),new Color(255,255,255));
*GRAPH_JS_FINAL
"blaProperties": {
"seriesLayout": "absolute"
},
"agnosticSettings": {
"chartTypeFullName": "Line_Absolute"
}
*END
ENDSTYLE
END


WF 8 version 8.2.04. Windows.
In focus since 1990.
May 08, 2018, 10:21 AM
evan.brown
Thanks, but that still seems to put two lines between each whole number.


WF 8.0.08 (Prod); WF 8.2.06 (Dev)
May 08, 2018, 10:49 AM
Spence
might be an 8008 issue. i'm not seeing two lines in version 8201.


WF 8 version 8.2.04. Windows.
In focus since 1990.
May 08, 2018, 12:02 PM
evan.brown
OK, thank you.


WF 8.0.08 (Prod); WF 8.2.06 (Dev)