jqwidgets-framework
Version:
jQWidgets is an advanced Angular, Vue, Blazor, React, Web Components, jquery, ASP .NET MVC, Custom Elements and HTML5 UI framework.
28 lines (18 loc) • 849 B
text/typescript
import { Component } from '@angular/core';
import { jqxBulletChartComponent } from 'jqwidgets-ng/jqxbulletchart';
@Component({
selector: 'app-root',
templateUrl: './app.component.html'
})
export class AppComponent {
title: string = 'Revenue 2019 YTD';
description: string = '(U.S. $ in thousands)';
ranges: any[] = [
{ startValue: 0, endValue: 200, color: '#000000', opacity: 0.5 },
{ startValue: 200, endValue: 250, color: '#000000', opacity: 0.3 },
{ startValue: 250, endValue: 300, color: '#000000', opacity: 0.1 }
];
pointer: any = { value: 270, label: 'Revenue 2019 YTD', size: '25%', color: 'Black'};
target: any = { value: 260, label: 'Revenue 2018 YTD', size: 4, color: 'Black' };
ticks: any = { position: 'both', interval: 50, size: 10 };
}