Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable animations #86

Open
dennisschott opened this issue Dec 21, 2023 · 5 comments
Open

Disable animations #86

dennisschott opened this issue Dec 21, 2023 · 5 comments
Assignees

Comments

@dennisschott
Copy link

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

@ArielMejiaDev
Copy link
Owner

I am going to work on it, thanks

@ArielMejiaDev ArielMejiaDev self-assigned this Jan 3, 2024
@marineusde
Copy link
Contributor

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
Copy link
Owner

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

@marineusde
Copy link
Contributor

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

@marineusde
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants