You are here

class DataLabels in Charts 8

Hierarchy

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

Expanded class hierarchy of DataLabels

1 file declares its use of DataLabels
charts_highcharts.module in modules/charts_highcharts/charts_highcharts.module
Charts module integration with Highcharts library.

File

modules/charts_highcharts/src/Settings/Highcharts/DataLabels.php, line 5

Namespace

Drupal\charts_highcharts\Settings\Highcharts
View source
class DataLabels implements \JsonSerializable {
  private $dataLabels;

  /**
   * @return mixed
   */
  public function getDataLabels() {
    return $this->dataLabels;
  }

  /**
   * @param mixed $dataLabels
   */
  public function setDataLabels($dataLabels) {
    $this->dataLabels = $dataLabels;
  }

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

}

Members