jqwidgets-framework
Version:
jQWidgets is an advanced Angular, Vue, Blazor, React, Web Components, jquery, ASP .NET MVC, Custom Elements and HTML5 UI framework.
35 lines (32 loc) • 1.09 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[][] = [
[ ],
[ ],
[ ],
[ ],
[ ],
[ ],
[ ],
[ ],
[ ],
[ ],
[ ],
[ ],
];
tooltipRender = (args): void => {
args.content = '<div>On ' + args.yLabel + ', <span style="color:yellow;">' + args.xLabel + '</span> has made <strong>' + args.value + ' 000$</strong></div>'
}
}