You are here

class PlotOptionsSeriesDataLabels in Charts 8.3

Plot Options Series Data Labels.

Hierarchy

  • class \Drupal\charts_highcharts\Settings\Highcharts\PlotOptionsSeriesDataLabels implements \Drupal\charts_highcharts\Settings\Highcharts\JsonSerializable

Expanded class hierarchy of PlotOptionsSeriesDataLabels

1 file declares its use of PlotOptionsSeriesDataLabels
Highcharts.php in modules/charts_highcharts/src/Plugin/chart/Highcharts.php

File

modules/charts_highcharts/src/Settings/Highcharts/PlotOptionsSeriesDataLabels.php, line 8

Namespace

Drupal\charts_highcharts\Settings\Highcharts
View source
class PlotOptionsSeriesDataLabels implements \JsonSerializable {
  private $enabled = FALSE;

  /**
   * Get Enabled.
   *
   * @return bool
   *   Enabled.
   */
  public function getEnabled() {
    return $this->enabled;
  }

  /**
   * Set Enabled.
   *
   * @param bool $enabled
   *   Enabled.
   */
  public function setEnabled($enabled) {
    $this->enabled = $enabled;
  }

  /**
   * Json Serialize.
   *
   * @return array
   *   Json Serialize.
   */
  public function jsonSerialize() {
    $vars = get_object_vars($this);
    return $vars;
  }

}

Members