parent
fb84ce54b8
commit
cfc0895551
2 changed files with 16 additions and 0 deletions
@ -0,0 +1,15 @@ |
|||||||
|
import { Chart, ArcElement, DoughnutController, Tooltip, Legend, CategoryScale, LinearScale, BarElement, BarController, LineController, LineElement, PointElement } from 'chart.js'; |
||||||
|
|
||||||
|
Chart.register( |
||||||
|
ArcElement, |
||||||
|
DoughnutController, |
||||||
|
Tooltip, |
||||||
|
Legend, |
||||||
|
CategoryScale, |
||||||
|
LinearScale, |
||||||
|
BarElement, |
||||||
|
BarController, |
||||||
|
LineController, |
||||||
|
LineElement, |
||||||
|
PointElement |
||||||
|
); |
||||||
Loading…
Reference in new issue