enable cache on chart