Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only. Moving forward, myibi is our community platform to learn, share, and collaborate. We have the same Focal Point forum categories in myibi, so you can continue to have all new conversations there. If you need access to myibi, contact us at myibi@ibi.com and provide your corporate email address, company, and name.


Connect to myibi
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Minor Grid Lines

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Minor Grid Lines
 Login/Join
 
Gold member
posted
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)
 
Posts: 83 | Location: OK | Registered: November 19, 2015Report This Post
Platinum Member
posted Hide Post
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.
 
Posts: 189 | Location: pgh pa | Registered: October 06, 2004Report This Post
Gold member
posted Hide Post
Thanks, but that still seems to put two lines between each whole number.


WF 8.0.08 (Prod); WF 8.2.06 (Dev)
 
Posts: 83 | Location: OK | Registered: November 19, 2015Report This Post
Platinum Member
posted Hide Post
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.
 
Posts: 189 | Location: pgh pa | Registered: October 06, 2004Report This Post
Gold member
posted Hide Post
OK, thank you.


WF 8.0.08 (Prod); WF 8.2.06 (Dev)
 
Posts: 83 | Location: OK | Registered: November 19, 2015Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Minor Grid Lines

Copyright © 1996-2020 Information Builders