Comments (2)
@yaronmil
In component:
gaugeTemplate = {
bgRadius: 20,
bgColor: "grey",
rounded: true,
reverse: false,
animationSecs: 5,
labels: [
new GaugeLabel({
color: 'black',
text: 'Pending',
x: 0,
y: 2,
fontSize: '.5em'
})
],
segments: [
new GaugeSegment({
value: 50,
color: "#7cc17c",
borderWidth: 5,
radius: 40
}),
new GaugeSegment({
value: 75,
color: "#5a5a8a",
borderWidth: 5,
radius: 30
})
]
};
in Html:
<ng2-kw-gauge
[bgRadius] = gaugeTemplate.bgRadius
[bgColor] = gaugeTemplate.bgColor
[rounded] = gaugeTemplate.rounded
[reverse] = gaugeTemplate.reverse
[animationSecs] = gaugeTemplate.animationSecs
[segments] = gaugeTemplate.segments
[labels] = gaugeTemplate.labels
>
</ng2-kw-gauge>
from ng-gauge.
thanks !
from ng-gauge.
Related Issues (12)
- Usage error HOT 13
- Using it with system.config.js HOT 1
- 90 deg charts on Microsoft Edge HOT 2
- IE11 Support HOT 2
- usate with systemjs HOT 1
- Microsoft Edge SVG rendering bug HOT 2
- Angular 4.0.0 Support
- Runtimer Error: ENOENT:... no such file .... /node_modules/ng-gauge/index.js HOT 8
- Ionic 3 compatible? HOT 2
- is Angular 5 Compatible? HOT 3
- No default jsDelivr CDN file set
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ng-gauge.