I am styling the Bar Chart using the new opacity option
I just copied from the latest code playground
var data = google.visualization.arrayToDataTable([
['Year', 'Visitations', { role: 'style' } ],
['2020', 16, 'opacity: 0.2'],
It is doing the job on the bar color.
However, the legend small squares still retain full opacity of 1 with no
transparency. So this is a problem.
How to make legend color be the same as the bars ?
Also, I found if I just want all bars set to same opacity, I just remove
the above opacity code and then in option add
draw(data,
{
dataOpacity:0.5})
It does not have any effects.
Any one can help ? Thanks
--
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 http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/groups/opt_out.