Skip to content
This repository has been archived by the owner on Jun 14, 2019. It is now read-only.

Commit

Permalink
v1.0.37
Browse files Browse the repository at this point in the history
  • Loading branch information
aleib committed Jul 4, 2018
1 parent 7ee0194 commit bbff9aa
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/util/MultiLineUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,7 @@ export const getComposedData = (chartProps, type, xAxis, yAxis, dataKey,
const value = _.get(dataPoint, dataKey, null)
const extend = i === endIndex && startIndex !== endIndex && (type === 'stepAfter' || value === null)
const yDataPoint = extend ? chartProps.data[i - 1] : chartProps.data[i];

const prevYPointWasNull = i === startIndex || _.get(chartProps.data[i - 1], dataKey, null) === null
const yPoint = regionValue !== null ? regionValue : _.get(yDataPoint, dataKey, null);
const bottomOfGraph = yAxis.scale && yAxis.scale.range && yAxis.scale.range() && yAxis.scale.range()[0]

data.push({
x: layout === 'horizontal' ?
Expand Down

0 comments on commit bbff9aa

Please sign in to comment.