diff --git a/README.md b/README.md index cb85325..98206ee 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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)