cancel
Showing results for 
Search instead for 
Did you mean: 

Display whole numbers on Y-Axis in Fiori Overview page

0 Kudos

Hello All,

I am using ABAP CDS view to create analytic card in Dashboard. I am displaying notifications on graph, but notifications should get displayed in whole number like 1,2,3,4 not 0.5,1.5 or 2.5

Please let me know if anything is required from my side.

kindly help me to resolve this issue.

former_member103161
Contributor
0 Kudos

Please check if the underlying data type is of type integer and the UI5 version that is being used.

One way to solve this is by giving the NumberOfFractional digits to the dataPoint annotation

0 Kudos

Hello Prasita,

Thanks for your reply.

I have tried using NumberOfFractional digits, but it is not working as expected.

please find below code for the same, please suggest if something i am missing.

 @UI.dataPoint: {
 valueFormat:{
    numberOfFractionalDigits: 0
}}
  cast(OustandingCount as abap.dec(3,0)) as OustandingCount } 

Accepted Solutions (0)

Answers (0)