Commit 0dc303eb authored by Michael's avatar Michael

Update README.md

updated example options
parent a45bc8ba
......@@ -22,10 +22,23 @@ The old fit option has been replaced with monotonicFit, which if set, enforces t
how to use it:
* * * * * * * * * * * * * * * * * * * * * * * *
```
var d1 = [[5,5],[7,3],[9,12]];
var options = { series: { curvedLines: { active: true }}};
$.plot($("#placeholder"), [{data: d1, lines: { show: true}, curvedLines: {apply: true}}], options);
```
... lines: { show: true},
curvedLines: {
apply: true,
tension: 1
} ...
```
or
```
... lines: { show: true},
curvedLines: {
apply: true,
nrSplinePoints: 30,
monotonicFit: true
} ...
```
or ....
* * * * * * * * * * * * * * * * * * * * * * * *
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