Symptom
How to display integer value of Data Lables in the Data (Y) Axis
Reproducing the Issue
- Create a new report using Xtreme Sample Database.
- Click Database > Database Expert.
- Click Create New Connection.
- Double-Click ODBC (RDO).
- Select "Xtreme Sample Database 2008" from Data Source Name and click Finish.
- Select "Orders Detail" table from Available Data Sources and click > to set it as Selected Tables.
- Click Insert > Chart.
- Drop the mouse into the Report Header.
- Select "Orders_Detail.Order ID" from Available fields and click > to set it as On change of.
- Select "Orders_Detail.Quantity" from Avaliable fields and click > to set it as Show values.
- Select "Orders_Detail.Quantity" in the Show values.
- Click Set Summary Operation.
- Select Count in the Calculate this summary and click OK.
- Click Refresh.
- You can see the decimal value (i.e. 0.4, 08, 1.2) of Data Labels in the Data (Y) axis.
- Crystal Reports XI Release 2
- Crystal Reports 2008
Resolution
- Select Chart on the report.
- Right-Click on the data labels of the Data (Y) Axis and click Data (Y) Axis Options.
- Click Scales tab.
- Uncheck Minimum Value and set 0.
- Uncheck Major Interval and set 1.
- Click OK.
Keywords
Data Axis, scale, min, max, count, sum, decimal , KBA , BI-RA-CR , Crystal Reports designer or Business View Manager , How To
Product
SAP Crystal Reports XI R2