Bindable charts example does not work
bmanth60 opened this issue · 0 comments
bmanth60 commented
Describe the bug
In the bindable chart example, the chart series was expected to update at 5s intervals but it is actually staying the exact same as the initial values for the whole duration. When replicating the code, my bounded variable stays undefined.
Instead of using bindable, should the chart just update when the props change?
Reproduction
https://flowbite-svelte.com/docs/plugins/charts#Binding_chart
Flowbite version and System Info
System:
OS: Linux 5.15 Ubuntu 22.04.5 LTS 22.04.5 LTS (Jammy Jellyfish)
CPU: (24) x64 12th Gen Intel(R) Core(TM) i9-12900K
Memory: 11.90 GB / 15.49 GB
Container: Yes
Shell: 5.1.16 - /bin/bash
Binaries:
Node: 20.17.0 - ~.nvm/versions/node/v20.17.0/bin/node
npm: 10.8.2 - ~.nvm/versions/node/v20.17.0/bin/npm
npmPackages:
@sveltejs/kit: ^2.0.0 => 2.7.2
flowbite-svelte: ^0.47.2 => 0.47.2
svelte: ^5.1.2 => 5.1.2
vite: ^5.0.3 => 5.4.9