Focal Point
change color setCurveFitType

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/8447092976

November 10, 2015, 12:26 PM
SWES
change color setCurveFitType
Hi,

If possible, how could I set a different color in a graph for the setCurveFitType line?

Thanks,
SWES
November 13, 2015, 05:46 AM
SWES
Does anyone used this function and set a different color for the line?

Thanks, SWES


WebFOCUS 8105m
Windows 7, All Outputs

Member of the Benelux Usergroup
November 13, 2015, 06:25 AM
Wep5622
See here: http://infocenter.informationb...Fsource%2Fopener.htm

My guess is that you need to look into the details for Trend lines in 'Special topics'.


WebFOCUS 8.1.03, Windows 7-64/2008-64, IBM DB2/400, Oracle 11g & RDB, MS SQL-Server 2005, SAP, PostgreSQL 11, Output: HTML, PDF, Excel 2010
: Member of User Group Benelux :
November 13, 2015, 11:26 AM
SWES
Thank you Wep, I looked into it, but this solution is for WF 8 with JQuery, as we're still with WF 7 I cannot use it unfortunately... there should be another line of code for javascript to change the color.


WebFOCUS 8105m
Windows 7, All Outputs

Member of the Benelux Usergroup
November 15, 2015, 06:11 AM
Tony A
I would look into trying setFillColor(getCurverFitType(), new color(rrr, ggg, bbb)); method?

Not sure if it is supported or not as I cannot locate it in the "Perspective for Java" documentation from ThreeD Graphics, but it's worth a try!

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
November 16, 2015, 08:48 AM
SWES
Hi Tony, that's what I thought, but unfortunately it does not work as we would suppose...


WebFOCUS 8105m
Windows 7, All Outputs

Member of the Benelux Usergroup