Custom Graph Colors
Custom Graph Colors
(OP)
I am using Developer Studio Version 7.1.4.
I am using the LINE Graph, Absoute.
I need to "flip" 2 colors in the graph.
OR, have complete control over the colors that appear in the lines.
I have 8 values in my legend which comprise the line graph.
However, the "TARGET" which is one of the ACROSS values, appears in PINK.
My manager wants that value including the legend for "TARGET" to appear in GREEN.
I have read lots of documentation about customizing, and I even got the "TARGET" line to turn green with a MACRO, however, the legend remained PINK for this value.
I am using the LINE Graph, Absoute.
I need to "flip" 2 colors in the graph.
OR, have complete control over the colors that appear in the lines.
I have 8 values in my legend which comprise the line graph.
However, the "TARGET" which is one of the ACROSS values, appears in PINK.
My manager wants that value including the legend for "TARGET" to appear in GREEN.
I have read lots of documentation about customizing, and I even got the "TARGET" line to turn green with a MACRO, however, the legend remained PINK for this value.
Thanks,
Leo
RE: Custom Graph Colors
setSeriesFillColor(0,new Color(255,0,0));
setSeriesFillColor(1,new Color(0,255,0));
This will set the first sieries color to red and the second to green.