From f4d11e44adb9938b7178f7b8099bdd2b7da34db9 Mon Sep 17 00:00:00 2001 From: Aniket Naik Date: Sat, 9 Sep 2017 20:20:18 +0530 Subject: [PATCH] Migration warning moved to top of README --- README.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 8eb9b7a..3366b66 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)