Angular Gauge Versions Save

A reusable gauge directive for Angular 1.x apps and dashboards

v2.2.0

6 years ago

Contains contribution from the community. Thank you, everyone, for your helping hands.

Features:

  1. 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

  2. label-only mode is introduced. When set to true it will show the text label only given in the label attribute at the center of the gauge. Thanks @anunesse #45

  3. 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

  4. Angular ~1.6.6 latest compatibility verified and example and website are updated to new version.

Bug Fixes

  1. Thresholds value is treated as a string produces wrong color values. Thanks @donghopark #38
  2. Infinite Digest Loop on the example web page and official webpage of angular-gauge.

v2.1.1

6 years ago

Merged pull request #37 to fix bower download issue. Rest is same as v2.1.0.

v2.1.0

6 years ago

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

6 years ago

Issue #34 - not redrawing when drop to zero, fixed.

v2.0.0

7 years ago

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

  1. internationalization/localization support added for the displayed text value (in numbers and decimals).
  2. min attribute introduced to configure the minimum value of the gauge scale.
  3. max attribute introduced to configure the maximum value of the gauge scale.
  4. It has been tested with latest release of angular in 1.4.x, 1.5.x and 1.6.x.
  5. peerDependency of angular is added in package.json
  6. value attribute is now compatible with min and max attributes to display value within the range only.

Bugs Fixed

  1. #32 documentation fixed.
  2. #30 min-max support added.
  3. #29 issue addressed with min-max attribute support.
  4. #24 fixed by introducing i18n in production release.

v2.0.0-beta

7 years ago

Do not use it in production, this is just for dummy purpose.

v1.4.0

7 years ago

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

  1. Improvement in gauge animation and rendering algorithm.
  2. Default value of thickness changed from 2 to 6.
  3. Default value of foregroundColor changed from #ffcc66 torgba(0, 150, 136, 1).
  4. Default Value of backgroundColor changed from #ccc to rgba(0,0,0,0.1).
  5. font-weight CSS property of text over the gauge (label text, append text, prepend text and value text) changed to normal.
  6. Default value of duration is set t 1200. and now logic of using duration for animating frames is improved in the core algorithm.

Bug Fixes

  1. zero value issue fixed #4
  2. issue #26 regarding multiple updates render wrongly fixed.

Not supported Yet

  1. Negative value will not show any gauge movement. They are by default clamped to 0.

v1.3.1

7 years ago

A patch release to include bug fixes:

  1. Text alignment is disturbed in Chrome and Firefox in v1.3.0 #28.

v1.3.0

7 years ago
  1. duration property added in the gauge to customize duration of gauge animation.
  2. 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.
  3. gh-pages updated to [email protected]

v1.2.0

7 years ago
  1. custom provider support added - ngGaugeProvider. Checkout Global Defaults section in README.
  2. Transparency in append and prepend text is introduced to differentiate it from display value.
  3. Escape characters verified in text fields for gauge, working fine.
  4. gh-pages documentation updated accordingly.