Switching between Pie and Line chart breaks rendering (labels or points missing) #138
Unanswered
Ahmed-AbdElrahim-mobiadd
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Title
Bug: Switching between Pie and Line chart breaks rendering (labels or points missing)
Description
When switching between Pie and Line chart types dynamically in a Filament ApexChart widget, the charts do not render correctly depending on the default chart type:
This happens even when using a minimal setup.
Steps to Reproduce
Create a widget extending
ApexChartWidget.Add a filter (
Select) to switch between chart types (pie,line).Start with
protected string $defaultChartType = 'pie';Start with
protected string $defaultChartType = 'line';Expected Behavior
Code Example
Video
https://www.awesomescreenshot.com/video/43366055?key=b551c78176f97b05bc6618268e459d08
Beta Was this translation helpful? Give feedback.
All reactions