Chartjs-What is instance for update chartjs

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);

Leave a comment