Open vmakovsky opened 8 years ago
Thanks. I have a fix for this bug that I will try to push to the frozen v45 soon.
Facing the same issue.. Is this fixed.. ??
There is a workaround. It works fine if you use:
<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script> ... google.charts.load('current', {packages: ['corechart']}); google.charts.setOnLoadCallback(drawChart);
instead of (which is perhaps an old way of how to call google charts - but it has this bug in the latest version)
<script type="text/javascript" src="https://www.google.com/jsapi"></script> ... google.load("visualization", '1.1', {packages:['corechart']}); google.setOnLoadCallback(drawChart);
If you use 'upcoming' instead of 'current' it doesn't work either. I assume it's not in the latest version.
When using
AreaChart
withisStacked: 'percent
' orisStacked: 'relative'
option the colors looks awful (see e.g. the fourth graph - 100% STACKED example in section Stacking Areas https://developers.google.com/chart/interactive/docs/gallery/areachart#stacking-areas ):I think it used to show the colors correctly (not 100% sure):
Code: