Add back ltl line

This commit is contained in:
Julia Friesel
2018-08-11 19:29:32 +02:00
parent 1ccc363678
commit d6cc8a7c14
2 changed files with 13 additions and 11 deletions
+10 -9
View File
@@ -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))