cancel
Showing results for 
Search instead for 
Did you mean: 

How to remove decimals from chart on Y-axis

idachristiansen
Explorer
0 Kudos
108

Hello Experts! 

Ihave create a CDS view and created a fiori app using Analytical List report. The service is an OData V2 and has been created using RAP. 
I would like my chart to only display whole numbers instead of decimals (se below picture Y-axis to the right). 

The code in my cds view for the chart:
@ui.chart: [{
title: 'Warehouse Tasks and Resources per Queue',
chartType: #COMBINATION_DUAL,
dimensions: [ 'WarehouseOrderQueue' ],
measures: [ 'NumberOfWarehouseTasks', 'CountResource' ],
measureAttributes: [{ measure: 'NumberOfWarehouseTasks', role: #AXIS_1 },
{ measure: 'CountResource', role: #AXIS_2 }],
dimensionAttributes: [{ dimension: 'WarehouseOrderQueue', role: #CATEGORY }],
description: 'Number of open Warehouse Tasks and resources per Warehouse Order Queue'

}]
The result in my fiori app:

idachristiansen_0-1742563609555.png

How do I do this??

Accepted Solutions (0)

Answers (0)