Skip to Content

Changing Series properties for ChartObjects progromatically at runtime

Jan 16 at 10:51 PM


avatar image


We are trying to change the series on a Crystal Report ChartObject at runtime using C# for ASP.NET.

We have a chart with 8 series. The user would like to select which of those series they want on the chart. So we would like to be able to remove the series at runtime, or if we cannot do that, change the appearance f the series (color, markers, etc.) at runtime to help us ensure that each series appears the same no matter what series are selected by the user.

The CrystalDecisions.ReportAppServer.ReportDefModel.ChartObject does not seem to allow us to do this.

Please advise on the best way to do this other than creating 256 separate charts to account for each possible combination (2 to the 8th).


Dennis Annulis

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Don Williams
Jan 17 at 10:09 PM

Hi Dennis,

We've never had any options to change charts in code.

Work around is to use multiple sections and suppress them using a formula.


10 |10000 characters needed characters left characters exceeded