You are here

constant ChartInterface::SINGLE_AXIS in Charts 5.0.x

Same name and namespace in other branches
  1. 8.4 src/Plugin/chart/Library/ChartInterface.php \Drupal\charts\Plugin\chart\Library\ChartInterface::SINGLE_AXIS

Used to define a single axis.

Constant used in chartsTypeInfo() to declare chart types with a single axis. For example a pie chart only has a single dimension.

File

src/Plugin/chart/Library/ChartInterface.php, line 20

Class

ChartInterface
Defines an interface for Chart plugins.

Namespace

Drupal\charts\Plugin\chart\Library

Code

const SINGLE_AXIS = 'y_only';