aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/app/scatterchart
diff options
context:
space:
mode:
authorNevena Bojovic <nenabojov@gmail.com>2022-03-30 19:54:09 +0200
committerNevena Bojovic <nenabojov@gmail.com>2022-03-30 19:54:09 +0200
commit158f1207206ccbb7955a17e0918c68d10216b3ec (patch)
tree30bd6161f067b6eb81d4d8e6c6bd25cdbf594795 /frontend/src/app/scatterchart
parent364d58591e949f50c42c6f686a3720cd959bbefa (diff)
Prosiren scatter.
Diffstat (limited to 'frontend/src/app/scatterchart')
-rw-r--r--frontend/src/app/scatterchart/scatterchart.component.ts9
1 files changed, 8 insertions, 1 deletions
diff --git a/frontend/src/app/scatterchart/scatterchart.component.ts b/frontend/src/app/scatterchart/scatterchart.component.ts
index 1da88fe7..9dfef4c3 100644
--- a/frontend/src/app/scatterchart/scatterchart.component.ts
+++ b/frontend/src/app/scatterchart/scatterchart.component.ts
@@ -16,7 +16,14 @@ export class ScatterchartComponent implements OnInit {
data: {
datasets: [{
label: 'Scatter Example:',
- data: [{x: 1, y: 11}, {x:2, y:12}, {x: 1, y: 2}, {x: 2, y: 4}, {x: 3, y: 8},{x: 4, y: 16}, {x: 1, y: 3}, {x: 3, y: 4}, {x: 4, y: 6}, {x: 6, y: 9}],
+ data: [{x: 1, y: 11}, {x:2, y:12}, {x: 1, y: 2}, {x: 2, y: 4}, {x: 3, y: 8},{x: 4, y: 16}, {x: 1, y: 3}, {x: 3, y: 4}, {x: 4, y: 6}, {x: 6, y: 9},
+ {x: 11, y: 9},
+ {x: 12, y: 8},
+ {x: 13, y: 6},
+ {x: 14, y: 0},
+ {x: 15, y: 5},
+ {x: 16, y: 3},
+ {x: 17, y: 2}],
backgroundColor: 'rgb(255, 99, 132)'
}]
},