taffy-coustom-ui
Version:
19 lines (16 loc) • 419 B
text/typescript
import { Component } from '@angular/core';
({
selector: 'app-root',
templateUrl: './app.component.html'
})
export class AppComponent {
tooltip: any =
{
visible: true,
formatFunction: (value: string) => {
let realVal = parseInt(value);
return ('Year: 2016<br/>Price Index:' + realVal);
}
}
values: number[] = [102, 115, 130, 137];
}