Line 206 in charts_google.inc casts the data values to integers, so any float data loses decimal places.

CommentFileSizeAuthor
#1 charts_google_int-2052877.patch527 bytesquicksketch
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

quicksketch’s picture

Title: Data values are cast to integers » Google chart values are cast to integers
Status: Active » Fixed
FileSize
527 bytes

Thanks, we should just be accepting the raw values here. The charts integration with views is already casing variables to (float), so this (int) casting shouldn't be needed. I've committed this patch to fix it. Thanks!

Status: Fixed » Closed (fixed)

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