Skip to content

Commit

Permalink
axis min and max
Browse files Browse the repository at this point in the history
  • Loading branch information
fabio-ivona committed Sep 26, 2023
1 parent 8df1b98 commit 264ef34
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Charts/Chart.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,11 @@ public function min(float $number, string $axis): self
return $this;
}

public function maintainAspectRatio(bool $enable = true)
public function maintainAspectRatio(bool $enable = true): self
{
$this->options['maintainAspectRatio'] = $enable;

return $this;
}

/**
Expand Down

0 comments on commit 264ef34

Please sign in to comment.