I am working on combo chart. Please see the attachment. there are different plot numbers at bottom and each plot number has different colors, as I have shown in JSON. How can I apply that to bars?
On Thursday, December 27, 2018 at 4:32:42 PM UTC+5:30, yassin azouzi wrote: > > > https://developers.google.com/chart/interactive/docs/gallery/columnchart#labeling-columns > link > > Le jeudi 27 décembre 2018 11:55:22 UTC+1, Sujata Nipane a écrit : >> >> I have json response which has color value. So according to that value I >> want to change the color of combo chart bar. There will be multiple value >> in json. >> >> My Json is like this: >> >> [{"colors":"#dd2727","availability":"Sold","plotno":"21","visits":"61","average":11,"start":"2018-12-27","end":"2018-11-27"}, >> >> {"colors":"#4c9e12","availability":"Available","plotno":"22","visits":"41","average":11,"start":"2018-12-27","end":"2018-11-27"}] >> >> So I want to apply the colors value i.e "#dd2727" to first bar and >> "#4c9e12" to second bar. How to do this? How can I pass different colors >> value inside options colors. >> >> Please help me ASAP. >> >> -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/google-visualization-api. To view this discussion on the web visit https://groups.google.com/d/msgid/google-visualization-api/460673ef-55e3-48cd-afd6-6b1f2b197313%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
