Fixing the code and adding charts

Added the UI5 chart
Fixed the code