working responsive line and pie charts