1.0.1 • Published 7 years ago
ng4_gauge v1.0.1
ng4-gauge
Install
npm i ng_gauge -s
Configurations
In .angular-cli.json in scripts section add "../node_modules/ng4_gauge/steelseries-min.js" and "../node_modules/ng4_gauge/tween.js"
"scripts": [
"../node_modules/ng4_gauge/steelseries-min.js",
"../node_modules/ng4_gauge/tween.js"
]
Using:
in your app module add GaugeModule in import section:
import { GaugeModule } from 'ng4_gauge/gauge/gauge.module';
...
imports: [
...
GaugeModule
],
in template
<app-gauge title="Ventas" unit="$us" uid="'uid'" value="55">
License
MIT