Open Hemantkumawat opened 1 month ago
Since you haven't specified the additional context: Are you using the latest version or at least >= 3.0.0? Because the JSON stuff was only added in version three, see https://github.com/asantibanez/livewire-charts/releases/tag/v3.0.0
As an alternative, try using available methods like setData() or addColumn(), depending on your needs.
Steps to Reproduce:
I was trying to configure the
ColumnChartModel
in my Livewire component.Here is the relevant code snippet:
When I try to execute this code, I receive the error mentioned above.
Additional Context:
Expected Behavior:
I expected the
setJsonConfig()
method to configure the JSON settings for the chart model.Actual Behavior:
The method
setJsonConfig()
does not seem to exist in theColumnChartModel
class.Is there a recommended approach to achieve this functionality, or is this a potential bug in the library?
Thank you for your assistance!