Closed vystepanenko closed 4 years ago
You're right. I tested with bar chart and it seems animation is not running - the chart displays instantly.
Thanks for reporting, I will look into it
thanks in advance
PS. I'm using core apexchart 1.4.12 at this moment
Same problem with donut chart
Hi, is this Bug fixed? Same problem with all Charts if i use them in components.
"apexcharts": "^3.6.2", "vue-apexcharts": "^1.3.1",
Regards,
+1 same here no animation on chart
Same bug on:
"apexcharts": "^3.6.8", "vue-apexcharts": "^1.3.4",
Up for this
initialize your series array as:
series: [{data: [0,0,0,0,0,0,0,0]}]
(example for an 8 bar chart)
and it'll work :)
Same bug here, using mixed column/line chart with no defined indexes
up
Same bug in donut charts also
Still a bug in 2020.
Sorry for the delay here. Fixed it. The animation will run fine in the next patch release of core apexcharts (apexcharts@3.15.6)
same bug in donut chart and column chart.. not working animation trigger the updateSeries() method i'm using:
"vue-apexcharts": "^1.5.1",
I still have the same bug with onstart animation of line chart. Has someone fixed tis?
I already updated to apexcharts": "^3.17.1
in nuxtjs but still not working
fixed this by manually calling this.$refs.chart.updateSeries([val], true)
triggers the animation correctly
same problem with donut chart on "vue3-apexcharts": "^1.5.2
and "apexcharts": "^3.46.0"
@brunojahel, @Sn0wFR thks man
apexcharts REACT but it can work with Vue i think Work for me with dynamicAnimation: initiate with value not empty : data[0,0,0,0 ...] (one 0 for each column)
chart: {
animations: {
dynamicAnimation: {
enabled: true,
speed: 850
}
},
height: 350,
type: 'bar',
}
Hello! i'm using:
And I have strange behavior of animation in bar chart on initial load if series: [ { data: [] } ] is empty. At the moment when I initial chart object I do not have data for series and categories
Then I make request to backend and fill series data and categories
And on first time animations seems doesn't work and chart appears instantly. If i repeat this action(at this moment series data already filled with some data) animation will work correctly.
This behiavor only with bar chart. i try for "area" and "line" charts and animation works correctly even on initial load when series data is emty