Commit 9e1d5244 authored by Michael Zinsmaier's avatar Michael Zinsmaier

initial commit v0.1

parent f90cccf2
This diff is collapsed.
<div id="flotOrig"></div>
<script id="source" language="javascript" type="text/javascript">
$(function () {
var d1 = [[20,20], [42,60], [54, 20], [80,80]];
var options = { series: {
curvedLines: {
active: true
}
},
axis: { min:10, max: 100},
yaxis: { min:10, max: 90}
};
$.plot($("#flotOrig"), [{data: d1, curvedLines: { show: true, lineWidth: 3}}, {data: d1, points: { show: true }}], options);
});
</script>
\ No newline at end of file
<div id="flotFit"></div>
<script id="source" language="javascript" type="text/javascript">
$(function () {
var d1 = [[20,20], [42,60], [54, 30], [80,80]];
var options = { series: {
curvedLines: {
active: true
}
},
xaxis: { min:10, max: 100},
yaxis: { min:10, max: 90}
};
$.plot($("#flotFit"), [{data: d1, curvedLines: { show: true, fit: true, fitPointDist: 0.000001, lineWidth: 3}}, {data: d1, points: { show: true }}], options);
});
</script>
\ No newline at end of file
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