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.

New TIBCO Community Coming Soon
In early summer, TIBCO plans to launch a new community—with a new user experience, enhanced search, and expanded capabilities for member engagement with answers and discussions! In advance of that, the current myibi community will be retired on April 30. We will continue to provide updates here on both the retirement of myibi and the new community launch.

What You Need to Know about Our New Community
We value the wealth of knowledge and engagement shared by community members and hope the new community will continue cultivating networking, knowledge sharing, and discussion.

During the transition period, from April 20th until the new community is launched this summer, myibi users should access the TIBCO WebFOCUS page to engage.


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