From 436d278ac87e39c0b8e5f7555666132f5b6a8910 Mon Sep 17 00:00:00 2001
From: Pierre Vriens <pierre.vriens@inpetto.be>
Date: Fri, 13 Feb 2015 20:03:07 +0100
Subject: [PATCH] #2347721 Pass view info to chart (for further processing)

---
 views/charts_plugin_style_chart.inc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/views/charts_plugin_style_chart.inc b/views/charts_plugin_style_chart.inc
index 4338540..f991d15 100644
--- a/views/charts_plugin_style_chart.inc
+++ b/views/charts_plugin_style_chart.inc
@@ -173,6 +173,7 @@ class charts_plugin_style_chart extends views_plugin_style {
       '#legend_position' => $this->options['legend_position'] ? $this->options['legend_position'] : NULL,
       '#width' => $this->options['width'],
       '#height' => $this->options['height'],
+      '#view' => $this->view, // pass info about the actual view results to allow further processing
     );
     $chart_type_info = chart_get_type($this->options['type']);
 
-- 
GitLab