Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/naikus/svg-gauge
Browse files Browse the repository at this point in the history
  • Loading branch information
naikus committed Nov 16, 2017
2 parents a502cf4 + f4d11e4 commit 642bd32
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@
Minmalistic, configurable, animated SVG gauge. Zero dependencies




## Migration from 1.0.2

The new gauge uses a viewbox of 100x100 as opposed to previous 1000x1000. All the stroke and font values have to be adjusted accordingly in your CSS. Just divide those by 10


### Usage

HTML
Expand Down Expand Up @@ -92,10 +99,4 @@ cpuGauge.setValueAnimated(90, 1);
| ```color (new)``` | An optional function that can return a color for current value ```function(value) {}``` |


### Migration from 1.0.2

The new gauge uses a viewbox of 100x100 as opposed to previous 1000x1000. All the stroke and font values have to be adjusted accordingly in your CSS. Just divide those by 10



#### [Live Demo](http://codepen.io/naikus/pen/BzkoLL)

0 comments on commit 642bd32

Please sign in to comment.