constant CHARTS_SINGLE_AXIS in Charts 8
Same name and namespace in other branches
- 7.2 charts.module \CHARTS_SINGLE_AXIS
Used to define a single axis.
Constant used in hook_charts_type_info() to declare chart types with a single axis. For example a pie chart only has a single dimension.
5 uses of CHARTS_SINGLE_AXIS
- ChartsConfigForm::charts_charts_type_info in src/
Form/ ChartsConfigForm.php - ChartsConfigForm::charts_settings_form in src/
Form/ ChartsConfigForm.php - ChartsPluginStyleChart::render in src/
Plugin/ views/ style/ ChartsPluginStyleChart.php - Render the display in this style.
- charts_charts_type_info in includes/
charts.pages.inc - Implements hook_charts_type_info().
- charts_settings_form in includes/
charts.pages.inc
File
- includes/
charts.pages.inc, line 32 - Menu callbacks for Charts module.
Code
define('CHARTS_SINGLE_AXIS', 'y_only');