Canvas Gauges Versions Save

HTML5 Canvas Gauge. Tiny implementation of highly configurable gauge using pure JavaScript and HTML5 canvas. No dependencies. Suitable for IoT devices because of minimum code base.

v2.0.7

7 years ago

This release contains critical bug-fix:

  • Bug-fix: fixed issue #66 - problems with correct dom attributes parsing on mutations.

If you facing any issues using gauges v2.0.7, please report.

Migration from version 1.x.x

v2.0.6

7 years ago

This release contains some critical bug-fixes:

  • Improvement: added advanced font-styling possibilities for gauge text elements (font-style, font-weight).
  • Bug-fix: preventing crashes when gauges obtain majorTicks misconfiguration.
  • Bug-fix: fixed problem with missing licensing information in minified sources (issue #64)
  • Bug-fix: fixed issue #63) with wrong needle behavior when gauge got a wrong value type.
  • Bug-fix: added polyfill for browsers which does not support Array.fill().
  • Bug-fix: fixed wrong drawing behavior of needle center circle in radial gauges when animated.

If you facing any issues using gauges v2.0.6, please report.

Migration from version 1.x.x

v2.0.5

7 years ago

This release contains critical bug-fix for Firefox users. In some circumstances gauge initialization may cause uncaught JavaScript DOMException throw, which prevents gauges to be drawn.

If you facing any issues using gauges v2.0.5, please report.

Migration from version 1.x.x

v2.0.4

7 years ago

This release contains several improvements and bug-fixes:

  • Improvement: async loading support with docs end examples.
  • Improvement: implemented possibility to define specific colors for major ticks and tick numbers separately (issue #50)
  • Bug-fix: fixed wrong drawings of right needle gradients in linear gauges.
  • Bug fix: fixed wrong coloring for minor ticks in linear gauges.
  • Bug fix: fixed problem when invalid width or height bypassed which causes gauge init crash.
  • Bug fix: fixed problem with crashing when drawing arcs in radial gauge with negative radius given in some circumstances.

If you facing any issues using gauges v2.0.4, please report.
For usage examples, please, refer examples page.

Migration from version 1.x.x

v2.0.3

7 years ago

This release contains minor improvements and bug-fixes:

  • Improvement: added possibility to animate gauges on initialization.
  • Bug-fix: fixed problem with gauge components initialization if it is done after DOM document been loaded.

If you facing any issues using gauges v2.0.3, please report.
For usage examples, please, refer examples page.

Migration from version 1.x.x

v2.0.2

7 years ago

Fixed critical bug in npm-based production packages which makes them crush.

If you facing any issues using gauges v2.0.1, please report.

Migration from version 1.x.x

v2.0.1

7 years ago

This release contains some improvements and bug-fixes.

  • Improvement: added possibility for radial gauge to animate ticks bar instead of animating needle.
  • Improvement: documentation updated.
  • Improvement: added possibility to define font size of the gauge text elements.
  • Improvement: added more examples.
  • Improvement: added typescript definitions to DefinitelyTyped repository.
  • Improvement: Added possibility to fill gauge plate with gradient.
  • Bug-fix: Fixed broken links in README file.
  • Bug-fix: Fixed problems with animations with some old browsers.
  • Bug-fix: Fixed incorrect gradient drawings on linear gauges.
  • Bug-fix: Fixed wrong positioning of highlight on linear gauge.
  • Bug-fix: Fixed problem with font-loading detection in firefox in the examples.
  • Bug-fix: Fixed problem with progress bar invalid positioning in some cases.

If you facing any issues using gauges v2.0.1, please report.

Migration from version 1.x.x

v2.0.0

7 years ago

This release contains breaking changes in comparison to version 1.x.x. Old end-user code will not work with gauges from this release properly, so, please, before updating gauges code to version 2 make sure you read this list of changes and all referring information.

  • Breaking API changes. Please, read new end-user and developer's documentation.
  • Added new type of gauge: LinearGauge
  • Primary package delivery platform changed to NPM.
  • Added ability to refer through CDN.
  • Gauges are now fully functional HTML-components. Read more here and here.
  • Completely changed development and delivery infrastructure.

If you facing any issues using gauges v2.0.0, please report.
For usage examples, please, refer examples page.

Migration from version 1.x.x