Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set custom height for LineChartMetric #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

zaman-ua
Copy link
Contributor

@zaman-ua zaman-ua commented Jan 9, 2025

Set custom height for LineChartMetric

@DissNik
Copy link
Member

DissNik commented Jan 10, 2025

Height option for all apexchart, need added in the DonutChartMetric. Maybe through abstaract class.

@@ -84,6 +86,13 @@ public function isWithoutSortKeys(): bool
return $this->withoutSortKeys;
}

public function setHeight(int $height): static
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Naming setter methods in the Moonshine without prefix set.
Height may be int or string

Suggested change
public function setHeight(int $height): static
public function height(int|string $height): static

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants