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.
First of all i'd like to wish to the community a happy new year.
I'm migrating to Webfocus 7.6.4 and I have an issue with the color of my frame. Indeed when I set the coolor of my frame it still stay to blue when I run the report (even I see the choosen color in the avance graph assistant window).
Here is the code I'm trying to test
GRAPH FILE CAR
-* Created by Advanced Graph Assistant
SUM CNT.CAR.BODY.BODYTYPE
BY LOWEST CAR.CARREC.MODEL
ON GRAPH PCHOLD AS HOLD FORMAT PNG
ON GRAPH SET GRAPHDEFAULT OFF
ON GRAPH SET GRMERGE ADVANCED
ON GRAPH SET GRMULTIGRAPH 0
ON GRAPH SET GRLEGEND 0
ON GRAPH SET GRXAXIS 1
ON GRAPH SET HAXIS 770
ON GRAPH SET VAXIS 405
ON GRAPH SET UNITS PIXELS
ON GRAPH SET LOOKGRAPH VLINE
ON GRAPH SET GRAPHSTYLE *
setTemplateFile("/images/tdg/template/IBISouthWestern.txt");
setReportParsingErrors(false);
setSelectionEnableMove(false);
setDepthRadius(0);
setUseSeriesShapes(true);
setMarkerSizeDefault(50);
setPlace(true);
setFillColor(getFrame(),new Color(153,99,93));
ENDSTYLE
END
I'm not sure I understand either, but the following displays ALL Blue for me
GRAPH FILE CAR -* Created by Advanced Graph Assistant SUM CNT.CAR.BODY.BODYTYPE BY LOWEST CAR.CARREC.MODEL ON GRAPH PCHOLD AS HOLD FORMAT PNG ON GRAPH SET GRAPHDEFAULT OFF ON GRAPH SET GRMERGE ADVANCED ON GRAPH SET GRMULTIGRAPH 0 ON GRAPH SET GRLEGEND 0 ON GRAPH SET GRXAXIS 1 ON GRAPH SET HAXIS 770 ON GRAPH SET VAXIS 405 ON GRAPH SET UNITS PIXELS ON GRAPH SET LOOKGRAPH VLINE ON GRAPH SET GRAPHSTYLE * setTemplateFile("/images/tdg/template/IBISouthWestern.txt"); setReportParsingErrors(false); setSelectionEnableMove(false); setDepthRadius(5); setPlace(true); setTransparentBorderColor(getSeries(0),true); setTransparentBorderColor(getSeries(1),true); setTransparentBorderColor(getSeries(2),true); setTransparentBorderColor(getSeries(3),true); setTransparentBorderColor(getSeries(4),true); setTransparentBorderColor(getSeries(5),true); setTransparentBorderColor(getSeries(6),true); setTransparentBorderColor(getSeries(7),true); setTransparentBorderColor(getSeries(8),true); setTransparentBorderColor(getSeries(9),true); setTransparentBorderColor(getSeries(10),true); setFillColor(getChartBackground(),new Color(0,0,255)); setFillColor(getFrameSide(),new Color(0,0,255)); setFillColor(getFrameBottom(),new Color(0,0,255)); setFillColor(getFrame(),new Color(0,0,255)); ENDSTYLE END
Not necessarily, in my stylesheet, everything is coded to return BLUE 0,0,255
With your's it's coded for I guess light brown 153,99,93
You can substitute my earlier example with setFillColor(getChartBackground(),new Color(153,99,93)); setFillColor(getFrameSide(),new Color(153,99,93)); setFillColor(getFrameBottom(),new Color(153,99,93)); setFillColor(getFrame(),new Color(153,99,93));
Dr Nick is a Simpson's character that always arrives in the scene with the greeting "Hello Everybody".
Back to your question though, when I run your code - without change - on 7.6.2 it gives the brown fill colour as per fillcolor parameter. It looks as though we're running virtually the same configuration as well - win 2003/7.62/IIS/Tomcat with XP end user machines. The only difference is that you are using VmWare.
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
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004
Ginny, once I ran the code the first time I changed it to CNT.MODEL BY COUNTRY just to get the line off the top row but only to make sure that wasn't the blue to which Ludo was "alluding"
Dr Nick (aka Ludo),
Perhaps that's a reason not to go to 7.6.4
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
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004
but I think the the fillcolor function doesn't work on my 7.6.4 environnement and I don't know why. I think that I missed a settings during the installation process but I don't know wich one.
Just tried your original and it produced a brownish box. Ran it on 7.6.4 on VMWare W2k3 Server
Production: 7.6.6 WF Server  <=>  7.6.6 WF Client  <=>  7.6.6 Dev Studio Testing: <none> Using MRE & BID.  Connected to MS SQL Server 2005 Output Types: HTML, Excel, PDF
Trav I don't understand what you propose me to do ? could you explain a little bit more. I tried my original code and the code I posted on a 7.1.6 version and it works fine
My understanding of what Trav has posted is that he has tried your original code on 7.6.4 using a 2K3 server on VMWare. Basically your configuration. His result was as you expected.
He doesn't want you to do anything, he is just confirming that your code worked using his set-up which is basically the same as yours?
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
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004
So Trav could you give your WF client settings (Graph section) , the jre you use or anything else that I probably missed and can explain the problem I have