fix chart rendering, add engagement chart category change functioanlity