1196708 - Chart formatting not retained in the group header/footer in Crystal Reports

SAP Knowledge Base Article - Public

1196708 - Chart formatting not retained in the group header/footer in Crystal Reports

Symptom

  • Modification made on a Chart are not retained.
  • When refreshing a report, the graph formatting is lost.
  • Chart modification lost, when reopening a report in Crystal Reports.

Environment

  • SAP Crystal Reports 2008
  • SAP Crystal Reports 2011
  • SAP Crystal Reports 2013
  • SAP Crystal Reports 2016

Reproducing the Issue

  1. In Crystal Reports, create a report off any data source.
  2. Insert a group on the report.
  3. Insert a chart in the group header or group footer of the report.
  4. Preview the report.
  5. Modify the chart, like change the color of the bar, pie,...
  6. Preview the report and notice the chart displays as expected.
  7. Save and close the report.
  8. Reopen the report in Crystal Reports, and refresh the report.
  9. Notice the modification made on the chart are lost.
      
    Chart Change.png

Cause

  • This situation occurs because modification made on a chart located in a Group Header or Group Footer section are only valid for the instance of the group.
  • Therefore when refreshing the report with new data, it will display the default chart formatting for the group instances that were not formatted.

Resolution

  • To ensure the modification made on a chart located in a Group Header or Group Footer section is propagated to all group instances, select the option: "Apply Changes to All Charts". To do so:
       
    1. In Crystal Reports, open the report, and select the "Preview" tab.
    2. Make the desired changes to a chart located in a Group Header of Group Footer section.
    3. To retain the change for all chart, right-click the on the formatted chart and select in the contextual menu: "Apply Changes to All Charts"
        
      Chart Change - 03.png
       
    4. Save the report.

Keywords

Crystal Reports, chart, group, preview view, group chart, group formatting, chart instance , , KBA , BI-RA-CR , Crystal Reports designer or BusinessViews Manager , Problem

Product

Crystal Reports 2008 V1 ; SAP Crystal Reports 2011 ; SAP Crystal Reports 2013 ; SAP Crystal Reports 2016