mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-20 17:30:14 +01:00
last three charts for chart.js
This commit is contained in:
parent
e4d31c1cc8
commit
252726d759
2 changed files with 32 additions and 2 deletions
|
|
@ -19,12 +19,18 @@ export class ChartJs {
|
|||
|
||||
public labels = {
|
||||
one: ["Sleeping", "Designing", "Coding", "Cycling"],
|
||||
two: ["April", "May", "June", "Jule", "August", "September", "October", "November", "December"]
|
||||
two: ["April", "May", "June", "Jule", "August", "September", "October", "November", "December"],
|
||||
three: ["May", "June", "Jule", "August", "September", "October", "November"]
|
||||
};
|
||||
public data = {
|
||||
one: [20, 40, 5, 35],
|
||||
two: [[1, 9, 3, 4, 5, 6, 7, 8, 2].map((e) => {return Math.sin(e) * 25 + 25})]
|
||||
two: [[1, 9, 3, 4, 5, 6, 7, 8, 2].map((e) => {return Math.sin(e) * 25 + 25})],
|
||||
three: [
|
||||
[65, 59, 90, 81, 56, 55, 40],
|
||||
[28, 48, 40, 19, 88, 27, 45]
|
||||
]
|
||||
};
|
||||
public series = ['Product A', 'Product B'];
|
||||
public colours = chartColors;
|
||||
public options = {
|
||||
scaleShowLabelBackdrop : false,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue