ArielMejiaDev / larapex-charts

A Laravel wrapper for apex charts
https://larapex-charts.netlify.app/
MIT License
290 stars 83 forks source link

Disable animations #86

Open dennisschott opened 10 months ago

dennisschott commented 10 months ago

Hey guys, is it possible to disable the chart animations? Can't find anything in the docs or source code.

ArielMejiaDev commented 10 months ago

I am going to work on it, thanks

marineusde commented 9 months ago

in the script.blade.php you can deactivate it with:

{
    chart: {
        animations: {
            enabled: false,
        }
    }
}

@ArielMejiaDev if you dont have the time, just tell me and I build a pull request.

ArielMejiaDev commented 8 months ago

@zwhhz a PR for this feature should be welcome, thanks

marineusde commented 8 months ago

I will do that after merging the pull request of #78 cause I get merge conflicts at the work.

marineusde commented 6 months ago

Hey guys, is it possible to disable the chart animations? Can't find anything in the docs or source code.

I published a fork of the project some days ago and have done some codestyle, bugfixed ect. I included the configuration or disabling of the animation:

https://github.com/marineusde/larapex-charts

Example:

$chart = (new BarChart)
  >setChartAnimationOption(new ChartAnimationOption(false));