diff --git a/components/chart/chart.js b/components/chart/chart.js index c11db6bfee008d2722a9f97314109ab41358a94f..b8d2142abfd77a83f6fe4434c2de28b005b61a60 100644 --- a/components/chart/chart.js +++ b/components/chart/chart.js @@ -81,7 +81,7 @@ export default class CycleChart extends Component { this.chartSymptoms.push('temperature') } - const columnData = this.makeColumnInfo(nfpLines(), this.chartSymptoms) + const columnData = this.makeColumnInfo() this.setState({ columns: columnData, chartHeight: height diff --git a/components/chart/day-column.js b/components/chart/day-column.js index fe4b82c39bdd411d17478d175afd7c077b93346e..e9c6f76056435937f2a1c5d815b5a86d6e172007 100644 --- a/components/chart/day-column.js +++ b/components/chart/day-column.js @@ -52,7 +52,7 @@ export default class DayColumn extends Component { this.fhmAndLtl = props.getFhmAndLtlInfo( props.dateString, - props.temp, + this.data.temperature, props.columnHeight ) }