jqwidgets-framework
Version:
jQWidgets is an advanced Angular, Vue, Blazor, React, Web Components, jquery, ASP .NET MVC, Custom Elements and HTML5 UI framework.
40 lines (37 loc) • 1.18 kB
text/typescript
import { Component, ViewEncapsulation } from '@angular/core';
@Component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.css'],
encapsulation: ViewEncapsulation.None
})
export class AppComponent {
xAxis: object = {
labels: ['John', 'Marry', 'Alba', 'Steven', 'Josh', 'Alica', 'Robert', 'Kim', 'Ann', 'Paul', 'Regina', 'Dorothy']
};
yAxis: object = {
labels: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri']
};
data: number[][] = [
[ ],
[ ],
[ ],
[ ],
[ ],
[ ],
[ ],
[ ],
[ ],
[ ],
[ ],
[ ],
];
paletteSettings: object = {
palette: [
{ value: 0, color: '#5dc3f0', label: '0€' },
{ value: 50, color: '#4bb1de', label: '50€' },
{ value: 100, color: '#3885a6', label: '100€' }
],
emptyPointColor: '#aaa'
};
}