Functionality to pdf, showing chart view in dashboard, some dashboard changes