Add back ltl line
This commit is contained in:
@@ -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))
|
||||||
|
|||||||
@@ -82,8 +82,9 @@ const styles = {
|
|||||||
borderStyle: 'solid'
|
borderStyle: 'solid'
|
||||||
},
|
},
|
||||||
nfpLine: {
|
nfpLine: {
|
||||||
backgroundColor: '#00b159',
|
borderColor: '#00b159',
|
||||||
strokeWidth: 3
|
borderWidth: 2,
|
||||||
|
borderStyle: 'solid'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user