chdls not working on pie chart

27 views
Skip to first unread message

tthdoc

unread,
Oct 26, 2019, 10:14:31 PM10/26/19
to Google Visualization API
I have the following which creates a 3d pie chart with 3 sections and labels showing males, females and unknown.  I want to change the labels (eg Males - 51%) to a different color (in this example e7e7e7) but the labels will not change color no matter what I have tried. Am I missing something.  Right now the charts are on a dark blue background and the font color is a dark gray, so hard to read.  I want to change it to more of a whitish color.

<img src="https://chart.googleapis.com/chart?chdls=e7e7e7&amp;cht=p3&amp;chd=e:AHfOgp&amp;chs=440x125&amp;chco=777777,ffd1dc,84beff&amp;chf=bg,s,ffffff00&amp;chl=Unknown - 0.2%|Females - 48.8%|Males - 51%" width="440" height="125" alt="Males - 51%, Females - 48.8%, Unknown - 0.2%" title="Males - 51%, Females - 48.8%, Unknown - 0.2%">

Thanks for any help with this.
Doc

Jon Orwant

unread,
Oct 26, 2019, 10:33:49 PM10/26/19
to google-visua...@googlegroups.com
Hi Doc, this isn't a Google Charts question, but a Google Image Charts question. That API was deprecated in 2012 and is no longer supported. You should move to another solution ASAP.

Jon

--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualizati...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-visualization-api/a4b5fcc1-2544-4beb-9a5b-7bfe71691327%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages