diff --git a/README.md b/README.md index cd5febd..697fe10 100644 --- a/README.md +++ b/README.md @@ -15,12 +15,11 @@ gauge.js ```javascript var opts = { - lines: 12, // The number of lines to draw - angle: 0.15, // The length of each line + angle: 0.15, /// The span of the gauge arc lineWidth: 0.44, // The line thickness pointer: { - length: 0.9, // The radius of the inner circle - strokeWidth: 0.035 // The rotation offset + length: 0.9, // Relative to gauge radius + strokeWidth: 0.035 // The thickness }, colorStart: '#6FADCF', // Colors colorStop: '#8FC0DA', // just experiment with them diff --git a/bower.json b/bower.json index 7cd1fdd..ceafced 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "gauge.js", - "version": "1.2.1", + "version": "1.3.1", "main": [ "dist/gauge.js", "dist/gauge.min.js", diff --git a/index.html b/index.html index 67e2639..7918f9e 100644 --- a/index.html +++ b/index.html @@ -90,12 +90,11 @@
var opts = { - lines: 12, // The number of lines to draw angle: 7, // The span of the gauge arc lineWidth: 5, // The line thickness radiusScale: 1.0, // Relative radius pointer: { - length: 10, // The radius of the inner circle + length: 10, // // Relative to gauge radius strokeWidth: 0, // The thickness color: '#000000' // Fill color }, @@ -194,7 +193,18 @@Supported browsers
Changes
-Version 1.3 (7.01.2017)
+Version 1.3.1 (05.02.2017)
+ Highlights: +
+ A couple of other bugs and issues sorted out as well. +
+ +This version is a mix of new functionality and various smaller fixes and improvements. Some of the inner transformations and options definition have been slightly altered/improved and made more consistent. @@ -320,7 +330,6 @@