aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/app/_elements/line-chart/line-chart.component.html
diff options
context:
space:
mode:
authorTAMARA JERINIC <tamara.jerinic@gmail.com>2022-04-19 17:57:17 +0200
committerTAMARA JERINIC <tamara.jerinic@gmail.com>2022-04-19 18:11:40 +0200
commit9c0b48ed66e363928e8970f9b328c0bb3eee6c2d (patch)
tree43f1ab277952eb08f78e8d181ac20f13cbe929d7 /frontend/src/app/_elements/line-chart/line-chart.component.html
parent57d9a0b2d52d736e76025637febbb5dd3b65dc92 (diff)
Dodate su komponente za grafik.
Diffstat (limited to 'frontend/src/app/_elements/line-chart/line-chart.component.html')
-rw-r--r--frontend/src/app/_elements/line-chart/line-chart.component.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/frontend/src/app/_elements/line-chart/line-chart.component.html b/frontend/src/app/_elements/line-chart/line-chart.component.html
new file mode 100644
index 00000000..8607aac5
--- /dev/null
+++ b/frontend/src/app/_elements/line-chart/line-chart.component.html
@@ -0,0 +1,9 @@
+<div class="chart-wrapper">
+ <canvas baseChart
+ [datasets]="lineChartData"
+ [labels]="lineChartLabels"
+ [options]="lineChartOptions"
+ [legend]="lineChartLegend"
+ [plugins]="lineChartPlugins">
+ </canvas>
+</div> \ No newline at end of file