feat(dca): add chart zoom navigation

This commit is contained in:
Herculino Trotta
2026-08-15 15:10:10 -03:00
parent 1c4f23a69e
commit 33f0904a0f
4 changed files with 57 additions and 1 deletions
+2 -1
View File
@@ -1,5 +1,6 @@
import Chart from 'chart.js/auto';
import {SankeyController, Flow} from 'chartjs-chart-sankey';
import zoomPlugin from 'chartjs-plugin-zoom';
Chart.register(SankeyController, Flow);
Chart.register(SankeyController, Flow, zoomPlugin);
window.Chart = Chart;