got chart to work with percentage breakdown via API header