Skip to content

Commit

Permalink
Migration warning moved to top of README
Browse files Browse the repository at this point in the history
  • Loading branch information
naikus authored Sep 9, 2017
1 parent 22241a7 commit f4d11e4
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 f4d11e4

Please sign in to comment.