
| Current Path : /var/www/html/rocksensor3/web/modules/contrib/charts/src/Plugin/chart/Type/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : /var/www/html/rocksensor3/web/modules/contrib/charts/src/Plugin/chart/Type/Type.php |
<?php
namespace Drupal\charts\Plugin\chart\Type;
use Drupal\Core\Plugin\PluginBase;
/**
* Chart type class plugins.
*/
class Type extends PluginBase implements TypeInterface {
/**
* {@inheritdoc}
*/
public function getId() {
return $this->pluginDefinition['id'];
}
/**
* {@inheritdoc}
*/
public function getLabel() {
return $this->pluginDefinition['label'];
}
/**
* {@inheritdoc}
*/
public function getAxis() {
return $this->pluginDefinition['axis'];
}
/**
* {@inheritdoc}
*/
public function isAxisInverted() {
return $this->pluginDefinition['axis_inverted'] == TRUE;
}
/**
* {@inheritdoc}
*/
public function supportStacking() {
return $this->pluginDefinition['stacking'] == TRUE;
}
}