You are here

public function GoogleOptions::setTitlePosition in Charts 8.3

Sets the position of chart title.

Supported values:

  • in: Draw the title inside the chart area.
  • out: Draw the title outside the chart area.
  • none: Omit the title.

Parameters

string $position: Title Position.

File

modules/charts_google/src/Settings/Google/GoogleOptions.php, line 288

Class

GoogleOptions
Class GoogleOptions.

Namespace

Drupal\charts_google\Settings\Google

Code

public function setTitlePosition($position) {
  $this->titlePosition = $position;
}