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.