Forums
FOCUS/WebFOCUS
[SOLVED] Changing the colors on a Line Graph that has 3 lines|
Go
![]() |
New
![]() |
Search
![]() |
Notify
![]() |
Tools
![]() |
Reply
![]() |
|
|
Silver Member |
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 |
||
|
|
Virtuoso |
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));
|
|||||
|
|
Master |
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
|
|||||
|
|
Silver Member |
Perfect! Thanks mgrackin this worked like a charm!
WebFOCUS 7.1.3 on Win 2000 |
|||
|
|
Platinum Member |
Thanks Guys,
I couldn't find my personal archived sample of this. Howver, I knew I could find it here at the POW. Current Client: WebFOCUS 7.1.4 Client: Windows, Reporting Server: Unix, Data: Oracle, Teradata Local Laptop: WebFOCUS 7.6.5 on Vista/Apache/Tomcat, Data: FOCUS, MS Access |
|||
|
| Previous Topic | Next Topic | powered by eve community |
| Please Wait. Your request is being processed... |
|
Forums
FOCUS/WebFOCUS
[SOLVED] Changing the colors on a Line Graph that has 3 lines
