Search found 3 matches

by wss
Thu Aug 13, 2009 1:47 pm
Forum: ActiveX
Topic: How to control chart's legend behavior?
Replies: 5
Views: 6198

Re: How to control chart's legend behavior?

I think that the problem is still to set correctly the style of the different parts: Legend labels, Axis labels and Series marks. TChart1.Series(0).Marks.Style = smsValue This was the last remaining piece of the puzzle. Now I have values in the chart, and their corresponding labels in the legend. T...
by wss
Thu Aug 13, 2009 12:54 pm
Forum: ActiveX
Topic: How to control chart's legend behavior?
Replies: 5
Views: 6198

Re: How to control chart's legend behavior?

Thank you for the prompt answer! Here's what I have done after I read your response: 1. Stopped explicitly seting labels for the (bottom) axis 2. Set the point label for each point that I add to the series 3. Set the legend's TextStyle to ltsPlain. (In this particular scenario I have only one data s...
by wss
Wed Aug 12, 2009 3:53 pm
Forum: ActiveX
Topic: How to control chart's legend behavior?
Replies: 5
Views: 6198

How to control chart's legend behavior?

Hi, If I understand correctly, legend behavior is controlled through its LegendStyle property. By default it is set to lsAuto , which makes it behave differently when there is a single data series and multiple data series. As expected, when there are multiple data series, the legend uses lsSeries st...