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]Graph Frame Seperator

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED]Graph Frame Seperator
 Login/Join
 
Gold member
posted
I want to have a frame color separator that is not a whole number. In the documentation, it always shows the value in 00.0 format, which leads me to believe this is possible. In the code below, I want the frame colors to be separated at value 4.5, but they separate at 4 instead. Any ideas how I can get it to separate at 4.5?

  
GRAPH FILE CAR
SUM ACCEL
BY CAR
WHERE CAR EQ 'JENSEN' OR 'MASERATI';
ON GRAPH PCHOLD FORMAT JSCHART
ON GRAPH SET LOOKGRAPH VBAR
ON GRAPH SET STYLE *
*GRAPH_SCRIPT
setDisplay(getY1AltFmtFrame(),true);
setAltFmtFrameNumColors(getY1AltFmtFrame(),2);
setAltFmtFrameSeparator(getY1AltFmtFrame(0),4.5);
setFillColor(getY1AltFmtFrame(0),new Color(243,255,11));
setFillColor(getY1AltFmtFrame(1),new Color(255,0,0));
*END
ENDSTYLE
END

This message has been edited. Last edited by: <Emily McAllister>,


WF 8.0.08 (Prod); WF 8.2.06 (Dev)
 
Posts: 83 | Location: OK | Registered: November 19, 2015Report This Post
Expert
posted Hide Post
I could be wrong but I've found that many commands that are available in the "WebFOCUS Graphics" syntax don't work in "WebFOCUS HTML5" charts (JSCHART).

Try commenting "ON GRAPH PCHOLD FORMAT JSCHART". If the "setAltFmtFrameSeparator" command works, I would open a case and have IBI explain why it doesn't work in "WebFOCUS HTML5" charts.


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
Expert
posted Hide Post
Also, "setAltFmtFrameSeparator" is not documented in the 'Creating HTML5 Charts With WebFOCUS Language, Version 8.0 Release 08' documentation - though it is documented in 'WebFOCUS Graphics, Release 8.0 Version 08'.


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
Gold member
posted Hide Post
That does indeed look like the issue. When I commented out the JSCHART line, it worked fine. Thanks.


WF 8.0.08 (Prod); WF 8.2.06 (Dev)
 
Posts: 83 | Location: OK | Registered: November 19, 2015Report This Post
Expert
posted Hide Post
I think it's an awful issue. You cannot take a chart beautifully hand-tooled in a prior version and expect it to work by changing the output format to JSCHART.

And you cannot use all the hard-earned knowledge of the prior version when creating a new JSCHART chart, even though the syntax allows you to add those commands.


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
  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]Graph Frame Seperator

Copyright © 1996-2020 Information Builders