Available interpolations include
(see <https://github.com/d3/d3-shape/blob/master/README.md#curves>):
* d3.curveLinear
* d3.curveMonotoneX
* d3.curveStepAfter
Maybe the appropriate interpolation should be specified for
every individual PV (part of the config file) in the future.
// Define the line
var valueline = d3.line()
+ //.curve(d3.curveLinear)
+ //.curve(d3.curveMonotoneX)
+ .curve(d3.curveStepAfter)
.defined(function (d) { return d[1] !== null; })
.x(function (d) { return x(d[0]); })
.y(function (d) { return y(d[1]); });