Closed (fixed)
Project:
Charts and Graphs
Version:
6.x-2.6
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
8 Dec 2010 at 03:58 UTC
Updated:
4 May 2011 at 20:11 UTC
Jump to comment: Most recent file
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.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | charts_graphs_992142_2.patch | 2.6 KB | bverc |
| #1 | charts_graphs_google_charts.class.inc.patch | 1.42 KB | bverc |
| Screenshot-2.png | 55.46 KB | bverc | |
| Screenshot-1.png | 63.77 KB | bverc |
Comments
Comment #1
bverc commentedI 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.
Comment #2
bverc commentedResubmitted patch following drupal guidelines.
Comment #3
rsevero commentedFixed with http://drupalcode.org/project/charts_graphs.git/commit/0d59046.
Thanks for the patch and sorry for the delay.