SAP Knowledge Base Article - Public

2731766 - High Charts/Charts 2.0 Axis Labels not Rounded-Off

Symptom

Charts 2.0 and High Charts show unrounded labels in the axes (x or y-axis) like 29.050429289....% while the actual data point on the graph shows a rounded-off label like 29%

Environment

SAP SuccessFactors Workforce Analytics

Cause

Axis range is not set by within WFA formatting but is  automatically set by the charting software.

Resolution

1. Try using Bar Charts. Bar charts round as expected. The issue seems to occur only for Line Charts with a single value.
2. Try using other charts that are not Charts 2.0 (Dundas charts). For example, regular Chart and Gauge components.   These charts also have the option for setting Minimum and Maximum Axis scale values. (Note: Dundas is the charting software behind the other chart types which are not Charts 2.0)

It is currently an enhancement request to have Charts 2.0 round the values for the axis labels.

Keywords

charts 2.0 labels, adjust chart labels, chart labels show decimal places, WFA-19093 , KBA , LOD-SF-WFA-REP , Reports, Data, Insight , Problem

Product

SAP SuccessFactors Workforce Analytics 1805