Hi,
I am creating chart with Google Charts API, but opacity on bar colors
doesn't work. Bar with opacity is completely white. Why it doesn't work?
var data = google.visualization.arrayToDataTable([
['Year', 'Visitations', { role: 'style' } ],
['2010', 10, 'color: gray'],
['2020', 14, 'color: #76A7FA'],
['2030', 16, 'opacity: 0.5'],
['2040', 22, 'stroke-color: #703593; stroke-width: 4; fill-color: #C5A5CF'],
['2050', 28, 'stroke-color: #871B47; stroke-opacity: 0.6; stroke-width: 8;
fill-color: #BC5679; fill-opacity: 0.2']
]);
var view = new google.visualization.DataView(data)
$('#chart').html('');
var chart = new
google.visualization.ColumnChart(document.getElementById('chart'));
chart.draw(view);
};
--
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/f38fb606-b6fa-4557-b122-9e9819b4f75d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.