SAP Knowledge Base Article - Public

1534837 - How to remove the axis of chart in Crystal Report?

Symptom

  • How to make the chart lines invisble?
  • How to not display the axis lines on a graph?
  • How to removed the line axis on a chart in Crystal Reports?

Environment

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

Resolution

  • To not display the line axis of a chart in Crystal Reports:
    1. Open the report on which you have a bar or line chart in Crystal Reports.
    2. Hide the chart frame.
      • Right click on the chart, and select "Format Chart Frame..."
           
          Chart 01.png 
           
        Notice the frame is highlighted. The chart in Crystal Reports is context sensitive, if you do not see the option "Format Chart Frame..." click on the chart frame area until the whole frame is highlighted, then right click to format the frame. 
           
      • In the "Format Chart Frame" window, under the tab "Border", select the color: "Transparent"
      • Click "OK" to accept the change.
                
    3. Hide the Y axis line.
      • On the left side of the chart, right click on the Y axis, and select "Data (Y) Axis Options..."
              
        Chart 02.png    
            
      • In the "Data (Y) Axis Settings" window, under the tab "Layout", uncheck the option "Show Axis Line"
      • Click "OK" to accept the change.
              
    4. Hide the X axis Line.
      • At the botom of the chart, right click on the X axis, and select "Group (X) Axis Options..."
           
         Chart 03.png   
           
      • In the "Group (X) Axis Settings" window, under the tab "Layout", uncheck the option "Show Axis Line"
      • Click "OK" to accept the change.
             
    5. Remove the gridlines.
      • Right click on the chart, and select "Chart Options..."
      • In the "Chart Options" window, under the tab "Gridlines", uncheck the group and data axis.
           
         Chart 04.png   
           
      • Click "OK" to accept the change.
           
    6. Format the Zero Line, to be transparent
      • Right click on the X axis line, and select "Format Zeroline..."
            
         Chart 05.png   
           
      • In the "Format Zero Line" window, under the tab "Line", set the color to: "Tansparent"
      • Click "OK" to accept the change.
          
        Now, the chart will no longer have lines for the X and Y axis.
          
        Chart 06.png

Keywords

 X-axis, Chart , KBA , BI-RA-CR , Crystal Reports designer or BusinessViews Manager , How To

Product

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