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] Changing the colors on a Line Graph that has 3 lines

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Changing the colors on a Line Graph that has 3 lines
 Login/Join
 
Silver Member
posted
Has anyone experience creating a line graph that has 3 lines. My problem is that two of the lines are showing the exact same color. Does anyone know the commands that will allow me to change the colors on a line graph?

This message has been edited. Last edited by: Kerry,


WebFOCUS 7.1.3 on Win 2000
 
Posts: 45 | Location: North Carolina | Registered: February 17, 2005Report This Post
Virtuoso
posted Hide Post
try this
setFillColor(getSeries(0),new Color(255,0,0));
setAxisAssignment(getSeries(1),1);
setFillColor(getSeries(1),new Color(255,153,0));
setAxisAssignment(getSeries(2),1);
setFillColor(getSeries(2),new Color(249,0,249));


In Focus since 1993. WebFOCUS 7.7.03 Win 2003
 
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005Report This Post
Virtuoso
posted Hide Post
The following commands are used to set the color of a series. The number (0, 1, or 2) indicates the series. In this case there are three lines on the graph.

setSeriesFillColor(0,new Color(255,0,255));
setSeriesFillColor(1,new Color(0,255,0));
setSeriesFillColor(2,new Color(0,0,255));


Thanks!

Mickey

FOCUS/WebFOCUS 1990 - 2011
 
Posts: 995 | Location: Gaithersburg, MD, USA | Registered: May 07, 2003Report This Post
Silver Member
posted Hide Post
Perfect! Thanks mgrackin this worked like a charm!


WebFOCUS 7.1.3 on Win 2000
 
Posts: 45 | Location: North Carolina | Registered: February 17, 2005Report This Post
Expert
posted Hide Post
Thanks Guys,

I couldn't find my personal archived sample of this. Howver, I knew I could find it here at the POW.




   In FOCUS Since 1983 ~ from FOCUS to WebFOCUS.
   Current: WebFOCUS Administrator at FIS Worldpay | 8204, 8206
 
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005Report 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] Changing the colors on a Line Graph that has 3 lines

Copyright © 1996-2020 Information Builders