Skip to content
This repository has been archived by the owner on Apr 29, 2020. It is now read-only.

Multiple data binding of chart data #42

Open
einnar82 opened this issue Feb 16, 2018 · 1 comment
Open

Multiple data binding of chart data #42

einnar82 opened this issue Feb 16, 2018 · 1 comment

Comments

@einnar82
Copy link

einnar82 commented Feb 16, 2018

Hi,

I am passing multiple array of data in my chart, how can i render these 3 datasets in realtime?
My chart code:
<chartjs-line :bind="true" :data="datasets"/>

the vue data:
datasets: [ { data: [] }, { data: [] }, { data: [] } ]

@mech01nc01
Copy link

as i know you have to use the override with :datasets="datasets" not :data=...

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

No branches or pull requests

2 participants