Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
charts
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
drupal.org
charts
Commits
436d278a
Commit
436d278a
authored
10 years ago
by
Pierre Vriens
Browse files
Options
Downloads
Patches
Plain Diff
#2347721 Pass view info to chart (for further processing)
parent
92d256d7
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
views/charts_plugin_style_chart.inc
+1
-0
1 addition, 0 deletions
views/charts_plugin_style_chart.inc
with
1 addition
and
0 deletions
views/charts_plugin_style_chart.inc
+
1
−
0
View file @
436d278a
...
...
@@ -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'
]);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment