# This patch file was generated by NetBeans IDE
# Following Index: paths are relative to: C:\wamp\www\drupalv1\profiles\drupal_commons\modules\custom\quant\includes
# This patch can be applied using context Tools: Patch action on respective folder.
# It uses platform neutral UTF-8 encoding and \n newlines.
# Above lines and this line are ignored by the patching process.
Index: chart.inc
--- chart.inc Base (BASE)
+++ chart.inc Locally Modified (Based On LOCAL)
@@ -150,7 +150,7 @@
 function _quant_generate_chart_single(&$quant) {
   $max = 0; // Determine the highest available value on y-axis
   $interval = 0; // Counter to help break the x-axis label
-  $period = ceil(count($data) / 10); // Period when to break x-axis
+  $period = ceil(count($quant->data) / 10); // Period when to break x-axis
 
   foreach ($quant->data as $date => $value) {
     // Only show the X label every calculated period
