Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Minor Grid Lines
Go
New
Search
Notify
Tools
Reply
  
[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.04 (Dev)
 
Posts: 66 | Location: OK | Registered: November 19, 2015Reply With QuoteReport 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, 2004Reply With QuoteReport 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.04 (Dev)
 
Posts: 66 | Location: OK | Registered: November 19, 2015Reply With QuoteReport 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, 2004Reply With QuoteReport This Post
Gold member
posted Hide Post
OK, thank you.


WF 8.0.08 (Prod); WF 8.2.04 (Dev)
 
Posts: 66 | Location: OK | Registered: November 19, 2015Reply With QuoteReport This Post
  Powered by Social Strata  
 

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

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.