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
57f6dbd2
Commit
57f6dbd2
authored
7 years ago
by
Daniel Cothran
Browse files
Options
Downloads
Patches
Plain Diff
Issue #2944125 by John Cook: Disable exporting for Highcharts
parent
ec816353
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
modules/charts_highcharts/src/Charts/HighchartsChartsRender.php
+1
-0
1 addition, 0 deletions
...s/charts_highcharts/src/Charts/HighchartsChartsRender.php
modules/charts_highcharts/src/Plugin/chart/Highchart.php
+1
-0
1 addition, 0 deletions
modules/charts_highcharts/src/Plugin/chart/Highchart.php
with
2 additions
and
0 deletions
modules/charts_highcharts/src/Charts/HighchartsChartsRender.php
+
1
−
0
View file @
57f6dbd2
...
...
@@ -194,6 +194,7 @@ class HighchartsChartsRender implements ChartsRenderInterface {
$chartLegend
->
setY
(
'0'
);
}
// Set exporting options.
$exporting
=
new
ExportingOptions
(
$options
[
'exporting'
]
?:
[]);
$highchart
=
new
Highcharts
();
...
...
This diff is collapsed.
Click to expand it.
modules/charts_highcharts/src/Plugin/chart/Highchart.php
+
1
−
0
View file @
57f6dbd2
...
...
@@ -201,6 +201,7 @@ class Highchart extends AbstractChart {
$chartLegend
->
setY
(
'0'
);
}
// Set exporting options.
$exporting
=
new
ExportingOptions
(
$options
[
'exporting'
]
?:
[]);
$highchart
=
new
Highcharts
();
...
...
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