larapex-charts icon indicating copy to clipboard operation
larapex-charts copied to clipboard

Disable animations

Open dennisschott opened this issue 1 year ago • 5 comments

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

dennisschott avatar Dec 21 '23 19:12 dennisschott

I am going to work on it, thanks

ArielMejiaDev avatar Jan 03 '24 04:01 ArielMejiaDev

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.

marineusde avatar Jan 31 '24 15:01 marineusde

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

ArielMejiaDev avatar Feb 08 '24 16:02 ArielMejiaDev

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

marineusde avatar Feb 13 '24 07:02 marineusde

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));

marineusde avatar Apr 24 '24 11:04 marineusde