I have a set of data that I am trying to render in a stacked AreaChart. The data consists of three columns: a date, a number, and a number. If I don't set isStacked in the chart options, the data renders exactly as one would expect: two area plots, one in front of the other. However, if I set isStacked to true, suddenly the values in the chart are, in a word, hosed. My data ranges from 0-3 at the moment. The unstacked version of the chart has a vertical axis of 0-4, as one would expect. The stacked version has a range of 0-100, and appears to be using one series' "shape" on the other series, while tooltips still show that second series largely as 0 (which it is.)
I have two examples, one stacked, the other not: Not stacked: http://eriemakerspace.com/testplot.html (works as one would expect) Stacked: http://eriemakerspace.com/testplot2.html (crazy plotting of the same data) These both use the exact same data, retrieved via json from here: http://eriemakerspace.com/ems_activity.php (if you want a smaller set of data to look at, add "?span=1%20month&res=day" to the end of that url). I have no idea why the chart would behave this way. I searched the issues and didn't see anything that seemed applicable, same goes for threads in this forum. If there is a thread or issue about this, I'd appreciate it if someone could point me in the right direction. Otherwise, any ideas on what's going on here? :/ Thanks in advance, -Greg -- You received this message because you are subscribed to the Google Groups "Google Chart API" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-chart-api/-/vZcUDjjjMXwJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-chart-api?hl=en.
