Vanishing Legend
Posted: Tue Nov 28, 2006 11:02 pm
Hello,
I have a TChart with multiple TLineSeries. I have control that assigns a TCategoryItem to a TLineSeries. That TCategoryItem will decide whether TLineSeries.Visible is true or false. Since I inherited a lot of this code I'm faced with some confusing behaviour. I'm not sure if it's related to my control or the TChart. If I disable any lineseries (TLineSeries.Visible := false) except the first one in the TCategoryItems list - the legend remains; however, if I disable the first TCategoryItem from the list the legend disappears. What controls whether or not this legend is visible? How can I override this so I can figure out what's going on?
I can provide a screen capture if necessary. Just let me know where to dump it.
Thanks
I have a TChart with multiple TLineSeries. I have control that assigns a TCategoryItem to a TLineSeries. That TCategoryItem will decide whether TLineSeries.Visible is true or false. Since I inherited a lot of this code I'm faced with some confusing behaviour. I'm not sure if it's related to my control or the TChart. If I disable any lineseries (TLineSeries.Visible := false) except the first one in the TCategoryItems list - the legend remains; however, if I disable the first TCategoryItem from the list the legend disappears. What controls whether or not this legend is visible? How can I override this so I can figure out what's going on?
I can provide a screen capture if necessary. Just let me know where to dump it.
Thanks