Skip to content

[Bug]: Animation.startup doesnot works on version above 4.0.1 #865

@akhilkandamuthan-afk

Description

@akhilkandamuthan-afk

Would you like to work on a fix?

  • Check this if you would like to implement a PR, we are more than happy to help you go through the process.

Current and expected behavior

<Chart
data={[
["Year", "Sales", "Expenses", "Profit"],
["2014", 1000, 400, 200],
["2015", 1170, 460, 250],
["2016", 660, 1120, 300],
["2017", 1030, 540, 350],
]}
chartType="BarChart"
options={{
// Material design options
chart: {
title: "Company Performance",
subtitle: "Sales, Expenses, and Profit: 2014-2017",
},
animation: {
duration: 500,
easing: "in",
startup: true, // when its true it doesnt work above version 4.0.1. but works fine for 4.0.1
},
colors: ["red", "green", "yellow", "cyan", "brown", "purple"],
}}
/>

Reproduction

nil

react-google-charts version

4.0.1

Possible solution

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions