Skip to content

Commit

Permalink
Merge pull request #115 from kplindegaard/gh-pages
Browse files Browse the repository at this point in the history
Updated info for release v1.3.1
  • Loading branch information
kplindegaard authored Feb 5, 2017
2 parents e17b23a + 177579e commit c3edbdf
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 10 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gauge.js",
"version": "1.2.1",
"version": "1.3.1",
"main": [
"dist/gauge.js",
"dist/gauge.min.js",
Expand Down
17 changes: 13 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -90,12 +90,11 @@ <h2>Features</h2>
<h2 id="usage">Usage</h2>
<pre class="prettyprint">
var opts = {
lines: <span id="opt-lines" class="lit">12</span>, // The number of lines to draw
angle: <span id="opt-angle" class="lit">7</span>, // The span of the gauge arc
lineWidth: <span id="opt-lineWidth" class="lit">5</span>, // The line thickness
radiusScale: <span id="opt-radiusScale" class="lit">1.0</span>, // Relative radius
pointer: {
length: <span id="opt-pointer-length" class="lit">10</span>, // The radius of the inner circle
length: <span id="opt-pointer-length" class="lit">10</span>, // // Relative to gauge radius
strokeWidth: <span id="opt-pointer-strokeWidth" class="lit">0</span>, // The thickness
color: '<span id="opt-pointer-color" class="lit">#000000</span>' // Fill color
},
Expand Down Expand Up @@ -194,7 +193,18 @@ <h2>Supported browsers</h2>

<h2>Changes</h2>

<h3 id="v1.3">Version 1.3 (7.01.2017)</h3>
<h3 id="v1.3.1">Version 1.3.1 (05.02.2017)</h3>
Highlights:
<ul>
<li>Added option 'minLimit' and improved max/min-hit value a lot (<a href="https://github.com/bernii/gauge.js/issues/84">issue #84</a>).</li>
<li>Fixed multiple pointers color problem, issue <a href="https://github.com/bernii/gauge.js/issues/26">#26</a> and <a href="https://github.com/bernii/gauge.js/issues/72">#72</a>.</li>
<li>Added ability to scale the gauge radius to deal with issue <a href="https://github.com/bernii/gauge.js/issues/112">#112</a>.</li>
</ul>
<p>
A couple of other bugs and issues sorted out as well.
</p>

<h3 id="v1.3">Version 1.3 (07.01.2017)</h3>
<p>
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.
Expand Down Expand Up @@ -320,7 +330,6 @@ <h2>Contact</h2>
document.getElementById("class-code-name").innerHTML = "Gauge";
demoGauge = new Gauge(document.getElementById("canvas-preview"));
var opts = {
lines: 1,
angle: -0.25,
lineWidth: 0.2,
pointer: {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gauge.js",
"version": "1.2.2",
"version": "1.3.1",
"description": "100% native and cool looking animated JavaScript/CoffeeScript gauge",
"main": "dist/gauge.js",
"repository": {
Expand Down

0 comments on commit c3edbdf

Please sign in to comment.