How to use plugins using the `defineChartComponent`
ejirocodes opened this issue · comments
How to use plugins using the defineChartComponent
After following the guide here: https://vue-chart-3.netlify.app/guide/configuration/plugins.html
<script lang="ts">
import { defineChartComponent } from 'vue-chart-3';
import { MatrixController, MatrixElement } from 'chartjs-chart-matrix';
Chart.register(MatrixController, MatrixElement);
const Matrix = defineChartComponent('MatrixChart', 'matrix');
</script>
<MatrixChart />
is still not working in Vue template.
Please @victorgarciaesgi can you help out. Thanks
Can you link me a reproduction on codesandbox so I can investigate? What is the error?