Commit 44d37d7d authored by Michael's avatar Michael

Update README.md

upgraded readme with js fiddle examples
parent e3b2ffcc
...@@ -18,6 +18,14 @@ The old fit option has been replaced with monotonicFit, which if set, enforces t ...@@ -18,6 +18,14 @@ The old fit option has been replaced with monotonicFit, which if set, enforces t
### Hands on ### ### Hands on ###
* * * * * * * * * * * * * * * * * * * * * * * *
examples:
* * * * * * * * * * * * * * * * * * * * * * * *
http://jsfiddle.net/p55d7bk8/2/ <- random data example <br>
http://jsfiddle.net/yqsb8mdc/2/ <- nrSplinePoints parameter <br>
http://jsfiddle.net/jd9q53fw/2/ <- fit parameters <br>
http://jsfiddle.net/n0600qo4/2/ <- legacy example <br>
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
how to use it: how to use it:
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
...@@ -25,21 +33,8 @@ The old fit option has been replaced with monotonicFit, which if set, enforces t ...@@ -25,21 +33,8 @@ The old fit option has been replaced with monotonicFit, which if set, enforces t
... lines: { show: true}, ... lines: { show: true},
curvedLines: { curvedLines: {
apply: true, apply: true,
tension: 1
} ...
```
or
```
... points: { show: true},
curvedLines: {
apply: true,
nrSplinePoints: 30,
monotonicFit: true
} ... } ...
``` ```
....
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
options: options:
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment