Creating a google chart with two data sets, If the maximum points are different, the values are scaled at a ratio of itself to the maximum.

Screenshot-1 shows the bug. Screenshot-2 shows if you adjust the url, the data is corrected.

This problem goes away when you specify a maximum, but doesn't help if you wish to have a dynamic maximum.

Comments

bverc’s picture

I have made a patch file which corrects this problem, but I think it over simplifies the code too much. It really needs someone who knows the code well to look over it.

bverc’s picture

Status: Active » Needs review
StatusFileSize
new2.6 KB

Resubmitted patch following drupal guidelines.

rsevero’s picture

Assigned: Unassigned » rsevero
Status: Needs review » Fixed

Fixed with http://drupalcode.org/project/charts_graphs.git/commit/0d59046.

Thanks for the patch and sorry for the delay.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.