Avalados por :
{
"items": [{
"Department": "R & D",
"EmployeeCount": "20"
}, {
"Department": "Syngenta",
"EmployeeCount": "30"
}, {
"Department": "Volvo",
"EmployeeCount": "35"
}, {
"Department": "NIKE",
"EmployeeCount": "60"
}, {
"Department": "ADIDAS",
"EmployeeCount": "70"
}]
}
"sap.ui5": {
…………………………….
"models": {
"i18n": {
"type": "sap.ui.model.resource.ResourceModel",
"settings": {
"bundleName": "Donut_Chart.i18n.i18n"
}
},
"Data": {
"Data": {
"type": "sap.ui.model.json.JSONModel",
"uri": "model/Data.json"
}
}
},
"resources": {
"css": [{
"uri": "css/style.css"
}]
}
}
In the view define a Vizframe chart of type donut by using the below namespaces
xmlns:viz="sap.viz.ui5.controls"
xmlns:vizFeeds="sap.viz.ui5.controls.common.feeds"
xmlns:vizData="sap.viz.ui5.data".
<viz:VizFrame xmlns="sap.viz" id="idDonutChart" vizType="donut" width="100%" height="100%"
vizProperties="{plotArea: { drawingEffect: 'glossy' },title:{ text:'Donut Chart Example'}}">
<viz:dataset>
<vizData:FlattenedDataset data=
Pedro Pascal
Se unió el 07/03/2018
contacto@primeinstitute.com
(+51) 1641 9379
(+57) 1489 6964
© 2024 Copyright. Todos los derechos reservados.
Desarrollado por Prime Institute