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 Properties

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED]Graph Frame Properties
 Login/Join
 
Gold member
posted
When I run the following fex, my frame background for 0 to 7 is the green shade I want. Then, I want from 7 to 14 to be red. However, the red only goes from 7 to 10. What about these properties am I not setting correctly? Thanks
  
GRAPH FILE CAR
SUM
CNT.COUNTRY
ON GRAPH PCHOLD FORMAT JSCHART
ON GRAPH SET LOOKGRAPH VLINE
ON GRAPH SET STYLE *
*GRAPH_SCRIPT
setScaleMax(getY1Axis(),14.0);
setAltFmtFrameNumColors(getY1AltFmtFrame(),3);
setAltFmtFrameSeparator(getY1AltFmtFrame(0),0.0);
setFillColor(getY1AltFmtFrame(0),new Color(195,0,47));
setAltFmtFrameSeparator(getY1AltFmtFrame(1),7.0);
setFillColor(getY1AltFmtFrame(1),new Color(119,188,31));
ENDSTYLE
END

This message has been edited. Last edited by: evan.brown,


WF 8.0.08 (Prod); WF 8.2.06 (Dev)
 
Posts: 83 | Location: OK | Registered: November 19, 2015Report This Post
Guru
posted Hide Post
evan.brown,

Please replace your commands with the following:

setScaleMax(getY1Axis(),14.0);
setAltFmtFrameNumColors(getY1AltFmtFrame(),3);
setAltFmtFrameSeparator(getY1AltFmtFrame(0),7.0);
setAltFmtFrameSeparator(getY1AltFmtFrame(1),14.0);
setFillColor(getY1AltFmtFrame(0),new Color(119,188,31));
setFillColor(getY1AltFmtFrame(1),new Color(195,0,47));

The above should fill up the entire frame.

Thank you for participating in the Focal Point Forum.

Kind Regards,
Tamra Colangelo
IBI Focal Point Moderator


WebFOCUS 8x - BI Portal, Developer Studio, App Studio, Excel, PDF, Active Formats and HTML5
 
Posts: 487 | Location: Toronto | Registered: June 23, 2009Report This Post
Gold member
posted Hide Post
I see, the separator must be the upper limit. 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     [SOLVED]Graph Frame Properties

Copyright © 1996-2020 Information Builders