jqwidgets-framework
Version:
jQWidgets is an advanced Angular, Vue, Blazor, React, Web Components, jquery, ASP .NET MVC, Custom Elements and HTML5 UI framework.
22 lines (16 loc) • 520 B
text/typescript
import { Component, ViewChild } from '@angular/core';
import { jqxBarGaugeComponent } from 'jqwidgets-ng/jqxbargauge';
({
selector: 'app-root',
templateUrl: './app.component.html'
})
export class AppComponent {
public values: number[] = [12, -35, -14.78, 29.5, 23.124, 41];
public labels: jqwidgets.BarGaugeLabels = {
formatFunction: (value: number): string => {
return value + ' m';
},
precision: 1,
indent: 15
};
}