You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I tried to plot a bar chart with multiple series, each of those have a different timeline.
I needed to use $this->chart->barChart()->setXAxis(['type' => 'datetime']) but I cannot because in LarapexChart::setXAxis you are setting only the xaxis.categories property.
This is the generated HTML:
The setXAxis method name is misleading, but I understand altering its behavior would be a breaking change. It should be done in the next major release.
At the moment the only thing I can do is use apex chart directly without using this package. Not a big issue though but it makes this package useless for me
The text was updated successfully, but these errors were encountered:
I'm wondering if you ever found a fix for this as I'm looking for the same solution too?
I can't fix this without making a PR that would introduce a breaking change. I was waiting for an answer by the author.
I ended up not using this library, using apex charts directly by JavaScript
I can't fix this without making a PR that would introduce a breaking change. I was waiting for an answer by the author. I ended up not using this library, using apex charts directly by JavaScript
Unfortunately, I think this is the only way to properly use this library. Which is a shame because out the box it works well, but if you want to customise it in any way it just doesn't work. Oh well. Looks like I'll be using ApexCharts directly too...
Hello,
I tried to plot a bar chart with multiple series, each of those have a different timeline.
I needed to use
$this->chart->barChart()->setXAxis(['type' => 'datetime'])
but I cannot because inLarapexChart::setXAxis
you are setting only thexaxis.categories
property.This is the generated HTML:
The setXAxis method name is misleading, but I understand altering its behavior would be a breaking change. It should be done in the next major release.
At the moment the only thing I can do is use apex chart directly without using this package. Not a big issue though but it makes this package useless for me
The text was updated successfully, but these errors were encountered: