Use Reactive Data with <script> version of vue-chartjs
See original GitHub issueHello,
So I want to use the reactive data feature on my chart. But the problem is, I’m building the Vue app via the <script>
method (intentionally). No webpack/babel/ES6 involved.
The example in the docs only demonstrates how to implement with ES6. How do I implement Reactive Data in an environment without ES6 and imports? Is it possible?
Issue Analytics
- State:
- Created 6 years ago
- Comments:11 (7 by maintainers)
Top Results From Across the Web
vue-chartjs-reactive - npm
Vue.js wrapper for chart.js for creating beautiful charts.. Latest version: 3.4.27, last published: 4 years ago. Start using ...
Read more >Getting Started - vue-chartjs
Your goal should be to create reusable chart components. For this purpose, you should utilize Vue.js props to pass in chart options and...
Read more >Vue, Vue-chartjs, pass looped data from template to script tag
1 Answer 1 ... import { onMounted } from 'vue' async function getCharts() { try { const response = await axios.get('http://localhost:3000/api/ ...
Read more >How to use the vue-chartjs.mixins.reactiveProp function ... - Snyk
reactiveProp ], props: ['chartData','options'], mounted(){ this.renderChart(this.chartData,this.options) }, watch:{ data:function(val){ this.renderChart(this.
Read more >README.md
For this case, please use the `vue-chartjs.min.js` which is the minified version. You also need to add the Chart.js CDN script. You can...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hey @apertureless
So I asked the question above because I was writing an article on vue-chartjs. I’m done with it and you can read here
@CyrusTheVirusG What exactly?
It is mentioned in the docs, that the mixin is creating the props itself: https://vue-chartjs.org/guide/#updating-charts