mhkeller / layercake

graphics framework for sveltejs

Home Page:https://layercake.graphics

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Question : Do you have example how to make the chart animated ?

x4080 opened this issue · comments

Do you have example how to make the chart animated ? for example I have initial data :

data = [
{ x: "john", y: 100 },
{ x: "mary", y: 200 },
{ x: "keanu", y: 320 },
];

then data updated to

data = [
{ x: "john", y: 1000 },
{ x: "mary", y: 2000 },
{ x: "keanu", y: 3200 },
];

the chart would animate from initial data to updated data

Thanks

Moving this over to the layercake repo and converting it to a discussion...