diff --git a/components/chart/chart.js b/components/chart/chart.js index 9030bfa..0710df8 100644 --- a/components/chart/chart.js +++ b/components/chart/chart.js @@ -72,14 +72,15 @@ export default class CycleChart extends Component { {nfpLineInfo.drawFhmLine ? : null} + {this.placeHorizontalGrid()} + {cycleDayNumber} {dateLabel} @@ -97,8 +98,7 @@ export default class CycleChart extends Component { y1={nfpLineInfo.drawLtlAt} x2={config.columnWidth} y2={nfpLineInfo.drawLtlAt} - stroke="orange" - strokeWidth="3" + {...styles.nfpLine} /> : null} {y ? this.drawDotAndLines(y, cycleDay.temperature.exclude, index) : null} diff --git a/components/chart/styles.js b/components/chart/styles.js index 9fa2633..2c101e6 100644 --- a/components/chart/styles.js +++ b/components/chart/styles.js @@ -62,6 +62,10 @@ const styles = { horizontalGrid: { stroke: 'lightgrey', strokeWidth: 1 + }, + nfpLine: { + stroke: '#00b159', + strokeWidth: 3 } }