UI/Sparklines: Change sparkline code to serverside only

fixes #6124