SAP Knowledge Base Article - Public

3231546 - How to change the space between bars in a bar chart in Crystal Reports?

Symptom

  • Space between bars on a chart.
  • How to remove the gap between bars on a chart?
  • How to change the size of the gap between bars on a bar chart in Crystal Reports? 

Environment

  • SAP Crystal Reports 2013
  • SAP Crystal Reports 2016
  • SAP Crystal Reports 2020 

Reproducing the Issue

  1. In Crystal Reports, create a report based on any data source.
  2. Insert a Bar Chart with 2 database fields on Change of, and one summary.
  3. When viewing report, notice the gap between bars on the chart. How to change the gap?

Resolution

  • To change the gap between the bars, on a bar chart in Crystal Reports:
      
    1. In Crystal Reports, open the report that contains a bar chart.
         
    2. Select one of the bar on the bar chart.
        
    3. Right click on the selected bar, and select "Chart Options..."
         
    4. In "Chart Options", under the tab "Appearance", set the option "Gap Width" to zero, or the desired gap value.
        
    5. Click "OK" to accept the change.
        
    6. Save the report.

Keywords

 CR, graph , KBA , BI-RA-CR , Crystal Reports designer or Business View Manager , How To

Product

SAP Crystal Reports 2013 ; SAP Crystal Reports 2016 ; SAP Crystal Reports 2020