diff --git a/components/chart/chart.js b/components/chart/chart.js index d31b128..c9c2b1d 100644 --- a/components/chart/chart.js +++ b/components/chart/chart.js @@ -1,5 +1,5 @@ import React, { Component } from 'react' -import { View, FlatList } from 'react-native' +import { View, FlatList, ScrollView } from 'react-native' import range from 'date-range' import { LocalDate } from 'js-joda' import { yAxis, normalizeToScale, horizontalGrid } from './y-axis' @@ -41,21 +41,23 @@ export default class CycleChart extends Component { render() { return ( - - {yAxisView} - {horizontalGrid} - { item.dateString} - initialNumToRender={15} - maxToRenderPerBatch={5} - > - } - + + + {yAxisView} + {horizontalGrid} + { item.dateString} + initialNumToRender={15} + maxToRenderPerBatch={5} + > + } + + ) } }