diff --git a/components/chart/day-column.js b/components/chart/day-column.js index 325960bb93d3b6f669e897fcf1ad961d0e35b766..bc45952404bcffab57bbe4958a25b62fc1ab2c6a 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 = (<View position = 'absolute' top={100} @@ -71,14 +70,16 @@ export default class DayColumn extends Component { columnElements.push(fhmLine) } - // {nfpLineInfo.drawLtlAt ? - // <Line - // x1="0" - // y1={nfpLineInfo.drawLtlAt} - // x2={config.columnWidth} - // y2={nfpLineInfo.drawLtlAt} - // {...styles.nfpLine} - // /> : null} + if(nfpLineInfo.drawLtlAt) { + console.log('yep') + const ltlLine = (<View + position = 'absolute' + width={'100%'} + top={nfpLineInfo.drawLtlAt} + {...styles.nfpLine} + />) + 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 6c7fb81bf63c262655973dc4ea1761f354cb1a09..7b8a72e117dd43718f23eb7701d24abb80ef3e6c 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' } }