ShowInLegend changes Series Color
Posted: Fri Apr 26, 2013 11:09 am
When I create a series with the following code I get a LimeGreen series in my Polar Chart as exptected:
Then I change the code to the following so the series does not show in the legedn:
Now my series is not displayed in LimeGreen anymore but in black! Does the ShowInLegend property change the color? Why? And how can I get a green line series that is not shown in the legend?
Code: Select all
mCircleSeries = new Steema.TeeChart.Styles.Polar();
mCircleSeries.Color = Color.LimeGreen;
mCircleSeries.Pointer.Visible = false;
mCircleSeries.Circled = true;
mCircleSeries.RotationAngle = 90;
mCircleSeries.Brush.Visible = false;
Code: Select all
mCircleSeries = new Steema.TeeChart.Styles.Polar();
mCircleSeries.ShowInLegend = false; // <-- this line added
mCircleSeries.Color = Color.LimeGreen;
mCircleSeries.Pointer.Visible = false;
mCircleSeries.Circled = true;
mCircleSeries.RotationAngle = 90;
mCircleSeries.Brush.Visible = false;