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.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Skipping the Tick/Grid lines on a Graph

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Skipping the Tick/Grid lines on a Graph
 Login/Join
 
Member
posted
This seems like a simple fix, but I've been stuck with this "tick" for quite some time now. I can't seem to get my tick/grid lines to skip according to my x-axis labels with 01LabelSkipCount. The documentation points us to the functions IgnoreTickSkip and IgnoreGridSkip to fix this. It says...

quote:
When O1-axis label skipping is defined with the O1LabelAutoSkip, O1LabelSkipBegin, and O1LabelSkipCount properties, this property enables or disables the O1-Axis tick marks (if present) to follow label skipping.


and...

quote:
false adjusts O1-axis tick marks to follow label skipping set by O1LabelAutoSkip, O1LabelSkipBegin, and O1LabelSkipCount. This value is the default


These functions don't appear to adjust anything, no matter how I build the graph file. I'm not sure if this feature is now invalid in current versions, but hopefully one of you can spot an error I'm making or know a workaround... Below is a quick and simple build using graph assistant with the functions in interest sectioned off.

GRAPH FILE CAR
SUM CAR.BODY.SALES 
ACROSS CAR.COMP.CAR 
ON GRAPH SET LOOKGRAPH VLINE
ON GRAPH SET GRAPHEDIT SERVER
ON GRAPH SET BARNUMB OFF
ON GRAPH SET 3D OFF
ON GRAPH SET VZERO ON
ON GRAPH SET GRID ON
ON GRAPH PCHOLD FORMAT PNG
ON GRAPH SET GRAPHSTYLE *
setMarkerDisplay(true);
setConnectLineMarkers(true);
setConnectScatterMarkers(true);
setO1LabelDisplay(true);
setO1AxisSide(0);
setO1MajorGridDisplay(true);
setO1MajorGridStyle(1);
setO1MinorGridDisplay(false);
setAxisAssignment(0,0);
setSeriesType(0,2);
setY1LabelDisplay(true);
setY1AxisSide(0);
setY1MajorGridDisplay(false);
setY1MinorGridDisplay(false);
setTextFormatPreset(getY1Label(),-1);
setTextFormatPattern(getY1Label(),"#.##");
setPieFeelerTextDisplay(1);
setPieLabelDisplay(0);
setTextFormatPreset(getPieSliceLabel(),1);
setRiserBorderMode(1);
setSeriesDefaultTransparentBorderColor(true);
setUseSeriesBorderDefaults(true);
setLegendDisplay(true);
setFontSizeAbsolute(getY1Title(),true);
setFontSizeAbsolute(getY1Label(),true);
setFontSizeAbsolute(getY2Title(),true);
setFontSizeAbsolute(getY2Label(),true);
setFontSizeAbsolute(getO1Title(),true);
setPlace(true);
setPlaceSkip(getO1Label(), 0);
-*----------------------------------------------
setO1LabelSkipBegin(0);
setO1LabelSkipCount(1);
setO1LabelAutoSkip(2);
setIgnoreTickSkip(false);
setIgnoreGridSkip(false);
-*----------------------------------------------
ENDSTYLE
ON GRAPH SET STYLE *
$
ENDSTYLE
END


Thanks!

This message has been edited. Last edited by: <Kathryn Henning>,


WebFOCUS 7.7.03
Dev Studio 7.7.03
Windows 7
ALL Outputs

 
Posts: 14 | Location: Upland, IN | Registered: March 26, 2013Report This Post
Expert
posted Hide Post
I would open a case with I.B. Tech Support. I've fidgeted with GRAPH code for days trying to make something simple work.


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Member
posted Hide Post
Thanks for the suggestion Francis, I will do just that!


WebFOCUS 7.7.03
Dev Studio 7.7.03
Windows 7
ALL Outputs

 
Posts: 14 | Location: Upland, IN | Registered: March 26, 2013Report This Post
<Kathryn Henning>
posted
Hi All,

I'm adding the resolution from zshanks' case to this topic so that it's there for future reference.

Make sure that Gridlines are removed and that setIgnoreGridSkip is set to true.

setPlaceSkip(getO1Label(), 0);
setO1MajorGridDisplay(false);
setO1MajorTickDisplay(true);
setO1LabelSkipBegin(0);
setO1LabelSkipCount(1);
setO1LabelAutoSkip(2);
setIgnoreTickSkip(false);
setIgnoreGridSkip(true);

Cheers! Smiler

Kathryn
 
Report This Post
Member
posted Hide Post
Thank you Kathryn. You beat me to it!

I'd just like to add, as of version 7.7.03 there's currently a bug with skipping gridlines. Ticks will skip as long as you follow the specifications Kathryn mentioned. Set your grid display to false and IgnoreGridSkip to true. Smiler


WebFOCUS 7.7.03
Dev Studio 7.7.03
Windows 7
ALL Outputs

 
Posts: 14 | Location: Upland, IN | Registered: March 26, 2013Report 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     [SOLVED] Skipping the Tick/Grid lines on a Graph

Copyright © 1996-2020 Information Builders