Quantcast
Channel: SAPUI5 Developer Center
Viewing all articles
Browse latest Browse all 789

Create simple chart in sapui5 using sap.m.makit library.

$
0
0

Pre-requisites

 

1.sapui5 framework

2.sap.makit library loaded.

Steps

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

     1.PNG


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

         2.PNG

 

 

    3.Get Data for the Chart.You can Get Data from Odata Service

          3.PNG

    4.Bind Data to Chart.All set..Try it

          4.PNG

For details and sample visit below blog

sapui5 charts:A simple chart using sap.makit library | sap abap | sapui5 made easy

If you need pie or donut chart just change sap.makit.Chart property "type"

refer

sapui5 charts:A simple pie chart using sap.makit library | sap abap | sapui5 made easy


Viewing all articles
Browse latest Browse all 789

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>