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. Moving forward, myibi is our community platform to learn, share, and collaborate. We have the same Focal Point forum categories in myibi, so you can continue to have all new conversations there. If you need access to myibi, contact us at myibi@ibi.com and provide your corporate email address, company, and name.


Connect to myibi
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