Update README.md

upgraded readme with js fiddle examples
pull/27/head
Michael 11 years ago
parent e3b2ffcc54
commit 44d37d7d12

@ -18,6 +18,14 @@ The old fit option has been replaced with monotonicFit, which if set, enforces t
### 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:
* * * * * * * * * * * * * * * * * * * * * * * *
@ -25,21 +33,8 @@ The old fit option has been replaced with monotonicFit, which if set, enforces t
... lines: { show: true},
curvedLines: {
apply: true,
tension: 1
} ...
```
or
```
... points: { show: true},
curvedLines: {
apply: true,
nrSplinePoints: 30,
monotonicFit: true
} ...
```
....
* * * * * * * * * * * * * * * * * * * * * * * *
options:
* * * * * * * * * * * * * * * * * * * * * * * *

Loading…
Cancel
Save