Merge pull request #8 from epuidokas/master
Fix compatibility with thresholds by epuidokaspull/13/merge
commit
60aab762e5
@ -0,0 +1,19 @@
|
||||
$(function () {
|
||||
|
||||
//<div id="flotOrig" style="width: 800px;height: 400px;"></div>
|
||||
|
||||
|
||||
var d1 = [[20,20], [42,60], [54, 20], [80,80]];
|
||||
|
||||
var options = { series: {
|
||||
curvedLines: {
|
||||
active: true
|
||||
},
|
||||
threshold: { below: 40, color: "rgb(0, 0, 0)" }
|
||||
},
|
||||
axis: { min:10, max: 100},
|
||||
yaxis: { min:10, max: 90}
|
||||
};
|
||||
|
||||
$.plot($("#flotOrig"), [{data: d1, lines: { show: true, lineWidth: 3}, curvedLines: {apply:true}}, {data: d1, points: { show: true }}], options);
|
||||
});
|
||||
Loading…
Reference in New Issue