Note: You must be registered in order to post a reply. To register, click here. Registration is FREE!
T O P I C R E V I E W
Posted - 07 May 2007 : 14:31:20 I want to change the color of a LegendItem when the line color of the axis changes.
I might be doing something wrong but the LegendItem color does not seem to automatically change when I change the line color of the underlying y axis. Is the legend supposed to automatically reflect changes in the line color?
I tried calling 'SetColor' on the LegendItem but that did not result in the color changing.
1 L A T E S T R E P L I E S (Newest First)
Posted - 07 May 2007 : 15:40:44 Nothing automatic happens with the legends when you change other attributes of the graph. Only the programmer know what they actually need.
The LegendItem text and symbol have independent colors, and you may or may not want to change both. The code below works: