Skip to content

Commit f4d11e4

Browse files
authored
Migration warning moved to top of README
1 parent 22241a7 commit f4d11e4

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22
Minmalistic, configurable, animated SVG gauge. Zero dependencies
33

44

5+
6+
7+
## Migration from 1.0.2
8+
9+
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
10+
11+
512
### Usage
613

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

94101

95-
### Migration from 1.0.2
96-
97-
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
98-
99-
100-
101102
#### [Live Demo](http://codepen.io/naikus/pen/BzkoLL)

0 commit comments

Comments
 (0)