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) columnElements.push(cycleDayLabel, dateLabel, horizontalGrid)
if(nfpLineInfo.drawFhmLine) { if(nfpLineInfo.drawFhmLine) {
console.log('jappens')
const fhmLine = (<View const fhmLine = (<View
position = 'absolute' position = 'absolute'
top={100} top={100}
@@ -71,14 +70,16 @@ export default class DayColumn extends Component {
columnElements.push(fhmLine) columnElements.push(fhmLine)
} }
// {nfpLineInfo.drawLtlAt ? if(nfpLineInfo.drawLtlAt) {
// <Line console.log('yep')
// x1="0" const ltlLine = (<View
// y1={nfpLineInfo.drawLtlAt} position = 'absolute'
// x2={config.columnWidth} width={'100%'}
// y2={nfpLineInfo.drawLtlAt} top={nfpLineInfo.drawLtlAt}
// {...styles.nfpLine} {...styles.nfpLine}
// /> : null} />)
columnElements.push(ltlLine)
}
if (y) { if (y) {
columnElements.push(...this.drawDotAndLine(y, temperatureExclude, index)) columnElements.push(...this.drawDotAndLine(y, temperatureExclude, index))
+3 -2
View File
@@ -82,8 +82,9 @@ const styles = {
borderStyle: 'solid' borderStyle: 'solid'
}, },
nfpLine: { nfpLine: {
backgroundColor: '#00b159', borderColor: '#00b159',
strokeWidth: 3 borderWidth: 2,
borderStyle: 'solid'
} }
} }