Commit 8a5ad820 authored by Eric Puidokas's avatar Eric Puidokas Committed by Eric Puidokas

Fix compatibility with thresholds

parent 450f66eb
......@@ -104,13 +104,13 @@
function processOptions(plot, options) {
if (options.series.curvedLines.active) {
plot.hooks.processDatapoints.push(processDatapoints);
plot.hooks.processDatapoints.unshift(processDatapoints);
}
}
//only if the plugin is active
function processDatapoints(plot, series, datapoints) {
if (series.curvedLines.apply == true) {
if (series.curvedLines.apply == true && series.originSeries === undefined) {
if (series.lines.fill) {
var pointsTop = calculateCurvePoints(datapoints, series.curvedLines, 1)
......
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