Skip to content
Snippets Groups Projects
Commit 20953df2 authored by Daniel Cothran's avatar Daniel Cothran
Browse files

Fix conflicting class names for Highcharts

parent 0b548c6f
No related branches found
No related tags found
No related merge requests found
......@@ -19,7 +19,7 @@ use Drupal\charts_highcharts\Settings\Highcharts\PlotOptionsSeriesDataLabels;
use Drupal\charts_highcharts\Settings\Highcharts\Tooltip;
use Drupal\charts_highcharts\Settings\Highcharts\ChartCredits;
use Drupal\charts_highcharts\Settings\Highcharts\ChartLegend;
use Drupal\charts_highcharts\Settings\Highcharts\Highcharts;
use Drupal\charts_highcharts\Settings\Highcharts\HighchartsOptions;
/**
* Defines a concrete class for a Highcharts.
......@@ -204,7 +204,7 @@ class Highcharts extends AbstractChart {
// Set exporting options.
$exporting = new ExportingOptions($options['exporting'] ?: []);
$highchart = new Highcharts();
$highchart = new HighchartsOptions();
$highchart->setChart($chart);
$highchart->setTitle($chartTitle);
$highchart->setAxisX($chartXaxis);
......
......@@ -5,7 +5,7 @@ namespace Drupal\charts_highcharts\Settings\Highcharts;
/**
* Highcharts.
*/
class Highcharts implements \JsonSerializable {
class HighchartsOptions implements \JsonSerializable {
private $chart;
private $title;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment