You are here

class Chart in Charts 8.3

Same name in this branch
  1. 8.3 src/Annotation/Chart.php \Drupal\charts\Annotation\Chart
  2. 8.3 modules/charts_highcharts/src/Settings/Highcharts/Chart.php \Drupal\charts_highcharts\Settings\Highcharts\Chart
Same name and namespace in other branches
  1. 8.4 src/Annotation/Chart.php \Drupal\charts\Annotation\Chart
  2. 5.0.x src/Annotation/Chart.php \Drupal\charts\Annotation\Chart

Defines an Chart annotation object.

Hierarchy

Expanded class hierarchy of Chart

2 string references to 'Chart'
charts.views.schema.yml in config/schema/charts.views.schema.yml
config/schema/charts.views.schema.yml
ChartType::setChartType in modules/charts_google/src/Settings/Google/ChartType.php
Chart Type.
5 classes are annotated with Chart
Billboard in modules/charts_billboard/src/Plugin/chart/Billboard.php
Define a concrete class for a Chart.
C3 in modules/charts_c3/src/Plugin/chart/C3.php
Define a concrete class for a Chart.
Chartjs in modules/charts_chartjs/src/Plugin/chart/Chartjs.php
Define a concrete class for a Chart.
Google in modules/charts_google/src/Plugin/chart/Google.php
Define a concrete class for a Chart.
Highcharts in modules/charts_highcharts/src/Plugin/chart/Highcharts.php
Defines a concrete class for a Highcharts.

File

src/Annotation/Chart.php, line 12

Namespace

Drupal\charts\Annotation
View source
class Chart extends Plugin {

  /**
   * The plugin ID.
   *
   * @var string
   */
  public $id;

  /**
   * The plugin name.
   *
   * @var string
   */
  public $name;

}

Members

Namesort descending Modifiers Type Description Overrides
Chart::$id public property The plugin ID.
Chart::$name public property The plugin name.
Plugin::$definition protected property The plugin definition read from the class annotation. 1
Plugin::get public function Gets the value of an annotation. Overrides AnnotationInterface::get 5
Plugin::getClass public function Gets the class of the annotated class. Overrides AnnotationInterface::getClass
Plugin::getId public function Gets the unique ID for this annotated class. Overrides AnnotationInterface::getId
Plugin::getProvider public function Gets the name of the provider of the annotated class. Overrides AnnotationInterface::getProvider
Plugin::parse protected function Parses an annotation into its definition.
Plugin::setClass public function Sets the class of the annotated class. Overrides AnnotationInterface::setClass
Plugin::setProvider public function Sets the name of the provider of the annotated class. Overrides AnnotationInterface::setProvider
Plugin::__construct public function Constructs a Plugin object. 2