on 2021 Feb 10 10:30 AM
Hi all,
I've implemented a bullet micro chart using CDS views using this tutorial as a reference. I then created a list report app and with the default table type it worked fine but when I changed the table type to Grid Table then I only get the value of the chart. According to the fiori elements guidelines Grid tables should support bullet charts.
Default table type:
Grid table:
Here's the CDS view chart code:
@UI.chart: [{
chartType: #BULLET ,
measures: ['chart'],
measureAttributes: [{
measure: 'chart' ,
role: #AXIS_1 ,
asDataPoint: true
}]
}]
define view .......
@UI:{ lineItem: [{ position: 170 ,
type: #AS_CHART,
label: 'Worked status'
}]
}
@UI.dataPoint: { title: 'Total Worked Hours' ,
targetValueElement: 'plannedWorkHours',
minimumValue: 0 ,
maximumValue: 200 ,
criticalityCalculation: {
improvementDirection: #MAXIMIZE ,
deviationRangeLowValueElement: 'lowerthreshold' ,
toleranceRangeLowValueElement: 'plannedWorkHours'
}
}
totalWorked as chart
The reason I want a Grid table is to have a horizontal scroll bar and contain all the line data in one line.
Any help with how I can accomplish that and keep the bullet chart is greatly appreciated.
Thanks,
Birgir
Request clarification before answering.
Hi bsnorrason,
Fiori Design Guidelines says, micro chars are not supported in grid table.
https://experience.sap.com/fiori-design-web/table-overview/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It seems there's conflicting info on this.
https://experience.sap.com/fiori-design-web/bullet-micro-chart/
User | Count |
---|---|
57 | |
10 | |
8 | |
8 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.