Skip to Content

Changing Series properties for ChartObjects progromatically at runtime

Hello,

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).

Thanks,

Dennis Annulis

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    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.

    Don

    Add comment
    10|10000 characters needed characters exceeded