You are here

public function Type::isAxisInverted in Charts 8.4

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

Gets whether the chart type axis is inverted.

Return value

bool TRUE if the chart type axis is inverted, FALSE otherwise.

Overrides TypeInterface::isAxisInverted

File

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

Class

Type
Chart type class plugins.

Namespace

Drupal\charts\Plugin\chart\Type

Code

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