ChartjsOverrides.php in Charts 8.3
Namespace
Drupal\charts_chartjs\Plugin\overrideFile
modules/charts_chartjs/src/Plugin/override/ChartjsOverrides.phpView source
<?php
namespace Drupal\charts_chartjs\Plugin\override;
use Drupal\charts\Plugin\override\AbstractChartOverride;
/**
* Defines a concrete class for a Chart.js Charts.
*
* @ChartOverride(
* id = "chartjs_overrides",
* name = @Translation("Chart.js Charts Overrides")
* )
*/
class ChartjsOverrides extends AbstractChartOverride {
public function chartOverrides(array $originalOptions = []) {
$options = [];
// // An example of how to override ....
return $options;
}
}
Classes
Name | Description |
---|---|
ChartjsOverrides | Defines a concrete class for a Chart.js Charts. |