BarChart in Sketchware android project

In Sketchware, to create an app in which data with numerical values can be added and viewed as a Bar chart, follow the steps given below. 1. Create a new project in Sketchware. 2. In main.xml add two Buttons button1 and button2 . Set text of button1 to 'Add' and text of button2 to 'Bar Chart'. Also add a ListView listview2 . 3. Create a CustomView items.xml and add two TextViews in it textview1 and textview2 . 4. Select items.xml as CustomView of listview2 . 5. In MainActivity.java , add a Shared Preferences component sp:sp , a Dialog component dialog_add , and an Intent component i . 6. Add a Map variable map , three String variables jsondata , label and value , and a ListMap maplist . 7. In onCreate event use blocks to get data from shared preferences to maplist and display it in ListView. 8. In onBindCustomView event, display the data from maplist in the TextViews in CustomView items.xml. 9. Create a CustomView d...