1👍
You can use the static method getChart to which you pass the id you have given your chart. Here you get the chart instance back to which you can call update:
import { Chart } from 'chart.js';
const chartInstance = Chart.getChart(ownChartId);
- [Vuejs]-CORS error when accessing microservice API from frontend in production
- [Vuejs]-How to set background image in Vue 3 based on image that is uploaded by user
Source:stackexchange.com