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     WF8 Chart Xaxis Label Skip

Read-Only Read-Only Topic
Go
Search
Notify
Tools
WF8 Chart Xaxis Label Skip
 Login/Join
 
Platinum Member
posted
Since it appears everyone is having roughly the same luck I am (barely any) with the graphing engine in WF8, i figure i'll add to the pile.

Does anyone know the syntax to skip xaxis labels in WF8? I've tried several variations of code and nothing seems to work. The manual suggests using:
axisAutoLayout:{rotate45:false, rotate90:false, truncate:true, stagger:false, skip: true},
  

to skip labels, but this is useless and does nothing. I've also tried:
setO1LabelSkipBegin(0);
setO1LabelSkipCount(1);
setO1LabelAutoSkip(2);
  

Once again is useless and done nothing.

I know there is a known bug with skipping labels and rotating them at the same time so i have rotate turned off right now. Anyone have any ideas?


WebFOCUS App Studio 8.2.02
Windows 7, All Outputs
 
Posts: 141 | Location: Mclean, VA | Registered: December 04, 2012Report This Post
Expert
posted Hide Post
This is what I've used in non-WF8 graphs:

setAutoSkip(getO1Label(),2);                                // sets or disables label skip for labels
setPlaceSkip(getO1Label(),0);
setSkipBegin(getO1Label(),0);                               // sets the first label to skip
setSkipCount(getO1Label(),3);                               // sets the interval of labels to skip after setSkipBegin()


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
Platinum Member
posted Hide Post
Yup, i tried multiple variations of those commands to make it work, no dice.


WebFOCUS App Studio 8.2.02
Windows 7, All Outputs
 
Posts: 141 | Location: Mclean, VA | Registered: December 04, 2012Report This Post
Expert
posted Hide Post
When "ON GRAPH PCHOLD FORMAT JSCHART" is commented, the skip works. I, of course, assume this is a bug. We've given up on WF charts and now happily use Highcharts.

DEFINE FILE GGORDER
ORDER_DATE_YYMD/YYMD = ORDER_DATE;
END

GRAPH FILE GGORDER
SUM
QUANTITY
BY ORDER_DATE_YYMD AS 'Order Date'

WHERE ORDER_DATE_YYMD GE '1996/01/01'

ON GRAPH PCHOLD FORMAT JSCHART
ON GRAPH SET VZERO OFF
ON GRAPH SET HTMLENCODE ON
ON GRAPH SET GRAPHDEFAULT OFF
ON GRAPH SET UNITS PIXELS
ON GRAPH SET HAXIS 770
ON GRAPH SET VAXIS 405
ON GRAPH SET GRMERGE ADVANCED
ON GRAPH SET GRMULTIGRAPH 0
ON GRAPH SET GRLEGEND 0
ON GRAPH SET GRXAXIS 1
ON GRAPH SET LOOKGRAPH VLINE
ON GRAPH SET AUTOFIT ON

ON GRAPH SET STYLE *
*GRAPH_SCRIPT
setPieDepth(0);
setPieTilt(0);
setDepthRadius(0);
setCurveFitEquationDisplay(false);
setPlace(true);
setUseSeriesShapes(true);
setMarkerSizeDefault(50);
*END
INCLUDE=endeflt.sty,$
TYPE=REPORT, TITLETEXT='WebFOCUS Report', $
*GRAPH_SCRIPT
setReportParsingErrors(false);
setSelectionEnableMove(false);
*END
ENDSTYLE

ON GRAPH SET GRAPHSTYLE *
setAutoSkip(getO1Label(),2);                                // sets or disables label skip for labels: 2 (manual skipping as defined by setSkipBegin() and setSkipCount())
setPlaceSkip(getO1Label(),0);
setSkipBegin(getO1Label(),0);                               // sets the first label to skip
setSkipCount(getO1Label(),6);                               // sets the interval of labels to skip after setSkipBegin()
ENDSTYLE

END


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
Platinum Member
posted Hide Post
Francis,
We are in the same boat, simple things like skipping labels or WHEN commands that should work drive me nuts when they don't. I have a few tickets open for them to fix half of it.

The chart functionality has gotten so bad that we have opted for implementing google charts to get what we need, happily as well I might add.

Once i figure out yet another work around i'll update this post.


WebFOCUS App Studio 8.2.02
Windows 7, All Outputs
 
Posts: 141 | Location: Mclean, VA | Registered: December 04, 2012Report This Post
Master
posted Hide Post
Hi Tim,

I spoke to our Product team and let them know about the tickets you have open but I think it may be helpful if we set up some time to review this further with you. I'll send you a private message so we can make arrangements.

Thanks
Kathleen
 
Posts: 391 | Location: New York | Registered: September 20, 2006Report 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     WF8 Chart Xaxis Label Skip

Copyright © 1996-2020 Information Builders