You are here

ChartAxis.php in Charts 8

Same filename and directory in other branches
  1. 8.3 modules/charts_c3/src/Settings/CThree/ChartAxis.php

File

modules/charts_c3/src/Settings/CThree/ChartAxis.php
View source
<?php

namespace Drupal\charts_c3\Settings\CThree;

class ChartAxis implements \JsonSerializable {
  private $rotated = FALSE;
  private $x = array(
    'type' => 'category',
  );

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

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

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

}

Classes

Namesort descending Description
ChartAxis