Stacked column charts with Google charts compared to gnuplot
Stacked column charts with Google charts compared to gnuplot Some time ago I had written about stacked histograms in gnuplot. Today I wanted to see how to achieve the same result with Google charts. For the purpose of this first exercise I was using the client side only and didnt worry about where the data should or could come from (in gnuplot data came from a file, naturally) but I put them directly into the JavaScript code. So first take a look at the result. As you can see the charts are pretty similar to gnuplot. There is currently one caveat in Google charts where you cant have multiline titles so its displayed as one line. So here is the JavaScript code. The code is a slight modification of the Google charts column chart example and of course the calculation of the percentages for the second chart is the only piece where some real additional work is required. I left all settings at their defaults (like colours, fonts etc.) except for the obvious y-axis title and...