From d6cc8a7c146ed168f23d72a5bb5463c4b3e1486c Mon Sep 17 00:00:00 2001 From: Julia Friesel Date: Sat, 11 Aug 2018 19:29:32 +0200 Subject: [PATCH] Add back ltl line --- components/chart/day-column.js | 19 ++++++++++--------- components/chart/styles.js | 5 +++-- 2 files changed, 13 insertions(+), 11 deletions(-) diff --git a/components/chart/day-column.js b/components/chart/day-column.js index 325960b..bc45952 100644 --- a/components/chart/day-column.js +++ b/components/chart/day-column.js @@ -60,7 +60,6 @@ export default class DayColumn extends Component { columnElements.push(cycleDayLabel, dateLabel, horizontalGrid) if(nfpLineInfo.drawFhmLine) { - console.log('jappens') const fhmLine = ( : null} + if(nfpLineInfo.drawLtlAt) { + console.log('yep') + const ltlLine = () + columnElements.push(ltlLine) + } if (y) { columnElements.push(...this.drawDotAndLine(y, temperatureExclude, index)) diff --git a/components/chart/styles.js b/components/chart/styles.js index 6c7fb81..7b8a72e 100644 --- a/components/chart/styles.js +++ b/components/chart/styles.js @@ -82,8 +82,9 @@ const styles = { borderStyle: 'solid' }, nfpLine: { - backgroundColor: '#00b159', - strokeWidth: 3 + borderColor: '#00b159', + borderWidth: 2, + borderStyle: 'solid' } }