diff --git a/components/chart/config.js b/components/chart/config.js index e9d5f95..573ff2b 100644 --- a/components/chart/config.js +++ b/components/chart/config.js @@ -5,7 +5,7 @@ const config = { low: 35, high: 40 }, - xAxisRangeInDays: 50 + xAxisRangeInDays: 1000 } const margin = 3 diff --git a/components/chart/day-column.js b/components/chart/day-column.js index bc9ebba..8f65978 100644 --- a/components/chart/day-column.js +++ b/components/chart/day-column.js @@ -9,7 +9,7 @@ import { getOrCreateCycleDay } from '../../db' import cycleModule from '../../lib/cycle' import setUpFertilityStatusFunc from './nfp-lines' import { horizontalGrid } from './y-axis' -import slowlog from 'react-native-slowlog' +//import slowlog from 'react-native-slowlog' const getCycleDayNumber = cycleModule().getCycleDayNumber const label = styles.column.label @@ -18,7 +18,7 @@ const getFhmAndLtlInfo = setUpFertilityStatusFunc() export default class DayColumn extends Component { constructor(props) { super(props) - slowlog(this, /.*/, {threshold: 30}) + //slowlog(this, /.*/, {threshold: 30}) } makeDayColumn(data, index) { const { @@ -68,8 +68,6 @@ export default class DayColumn extends Component { // /> : null} // />) - // onPress: () => this.passDateToDayView(dateString), - //