Found an issue where the data outputted by the charts wan't the same as what I was entering.

google_chart_tools.js - line 52

row[j] = parseInt(settings.chart[chartId].rows[j][i]);

should be

row[j] = parseInt(settings.chart[chartId].rows[i][j]);

Comments

jfraser’s picture

After further investigation my code broke the examples provided by the module.

Further debug I could get both working with the following code.

Basically if the header length = the rows length it would cause data to be mixed in the charts.

if (settings.chart[chartId].header.length == settings.chart[chartId].rows.length) {
   row[j] = parseInt(settings.chart[chartId].rows[i][j]);      
} else {
   row[j] = parseInt(settings.chart[chartId].rows[j][i]);
}
konforti’s picture

Status: Active » Postponed (maintainer needs more info)

This might be duplicates http://drupal.org/node/1677138.
Can you please check to confirm that the fix there, solved this one as well.
If not I'll need some more info to how to duplicate this issue, like a set of data which cause it happens.
Thanks.

konforti’s picture

Status: Postponed (maintainer needs more info) » Closed (duplicate)