You are here

public function Type::supportStacking in Charts 5.0.x

Same name and namespace in other branches
  1. 8.4 src/Plugin/chart/Type/Type.php \Drupal\charts\Plugin\chart\Type\Type::supportStacking()

Gets whether the chart type axis supports stacking.

Return value

bool TRUE if the chart type axis supports stacking, FALSE otherwise.

Overrides TypeInterface::supportStacking

File

src/Plugin/chart/Type/Type.php, line 43

Class

Type
Chart type class plugins.

Namespace

Drupal\charts\Plugin\chart\Type

Code

public function supportStacking() {
  return $this->pluginDefinition['stacking'] == TRUE;
}