chart

sapui5 charts:A simple chart using sap.makit library

How to create bar chart using sapui5

Pre-requisites

1.sapui5 framework
2.sap.makit library loaded.

Steps
1.First step is to include sap.makit library in index.html file


2.Create sap.makit.Chart control and give properties.

3.Get Data for the Chart.You can Get Data from Odata Service.Here I am using custom Data and set it to json Model.jsonmodel is client side model.



4.Bind Data to Chart.All set..Try it....I have also shared a working jsbin.

Bar Chart Using SAPUI5 Makit Library
If you enjoyed this post, I’d be grateful if you’d help it spread by sharing.Thank you! See you soon

0 comments :

Post a Comment

Powered by Blogger.