fixing based on Brandons review

This commit is contained in:
ppisljar 2016-12-23 16:04:34 +01:00
parent 03a0e9f439
commit 2f86249f5e

View file

@ -11,7 +11,6 @@ export default function AreaChartFactory(Private) {
showCircles: true,
radiusRatio: 9,
showLines: true,
smoothLines: false,
interpolate: 'linear',
color: undefined,
fillColor: undefined,
@ -68,7 +67,7 @@ export default function AreaChartFactory(Private) {
const color = this.handler.data.getColorFunc();
const xScale = this.getCategoryAxis().getScale();
const yScale = this.getValueAxis().getScale();
const interpolate = (this.seriesConfig.smoothLines) ? 'cardinal' : this.seriesConfig.interpolate;
const interpolate = this.seriesConfig.interpolate;
const isHorizontal = this.getCategoryAxis().axisConfig.isHorizontal();
// Data layers