make chart theme as parameter