Releases: ashish-chopra/angular-gauge
v2.2.0
Contains contribution from the community. Thank you, everyone, for your helping hands.
Features:
-
If the gauge value changes, the gauge will not redraw from 0 as always. It moves differentially from current value to new value (increase or decrease based on new value as compared to current value). Thanks @karlmtc #40
-
label-only
mode is introduced. When set totrue
it will show the text label only given in thelabel
attribute at the center of the gauge. Thanks @anunesse #45 -
fraction-size
is introduced. Angular Gauge uses number filter to display value at the center.fraction-size
provides the number of fraction digits to show. It is the same parameter that is passed to number filter. Thanks @karlmtc #44 -
Angular ~1.6.6 latest compatibility verified and example and website are updated to new version.
Bug Fixes
- Thresholds value is treated as a string produces wrong color values. Thanks @donghopark #38
- Infinite Digest Loop on the example web page and official webpage of angular-gauge.
v2.1.1
v2.1.0
Introduced a much required feature - threshold based color ranges- in angular-gauge.
A new property thresholds
for <ng-gauge>
has been introduced that can take an object of key-value pairs. The key represents the threshold point (minimum value after which it takes the color represented by the value object); and value is an object that holds a color property. For more information checkout README's section
Configure Threshold Color Ranges
.
v2.0.1
v2.0.0
This is a major release 2.0.0 for angular-gauge library. It contains some breaking changes, if you are upgrading from 1.x versions.
Features
- internationalization/localization support added for the displayed text value (in numbers and decimals).
min
attribute introduced to configure the minimum value of the gauge scale.max
attribute introduced to configure the maximum value of the gauge scale.- It has been tested with latest release of angular in 1.4.x, 1.5.x and 1.6.x.
- peerDependency of angular is added in package.json
value
attribute is now compatible withmin
andmax
attributes to display value within the range only.
Bugs Fixed
v2.0.0-beta
Do not use it in production, this is just for dummy purpose.
v1.4.0
This version contains major performance and rendering improvement of gauge and eradicate all the gauge problems with equation, animation duration and overflow and underflow. Major highlights are given below:
NOTE: There is NO BREAKING CHANGE introduced in this release.
Changes
- Improvement in gauge animation and rendering algorithm.
- Default value of thickness changed from
2
to6
. - Default value of foregroundColor changed from
#ffcc66
torgba(0, 150, 136, 1)
. - Default Value of backgroundColor changed from
#ccc
torgba(0,0,0,0.1)
. font-weight
CSS property of text over the gauge (label text, append text, prepend text and value text) changed tonormal
.- Default value of
duration
is set t1200
. and now logic of using duration for animating frames is improved in the core algorithm.
Bug Fixes
Not supported Yet
- Negative value will not show any gauge movement. They are by default clamped to 0.
v1.3.1
v1.3.0
duration
property added in the gauge to customize duration of gauge animation.- Example section is redesigned is called as "Playground". Here you can play with different properties and see the real time effects on gauge on the right side.
- gh-pages updated to latest@1.3.0
v1.2.0
- custom provider support added -
ngGaugeProvider
. Checkout Global Defaults section in README. - Transparency in append and prepend text is introduced to differentiate it from display value.
- Escape characters verified in text fields for gauge, working fine.
- gh-pages documentation updated accordingly.