Created
March 15, 2019 19:51
-
-
Save rwbrockhoff/0269cc9f0c134e3484fb1c0e2a28ef07 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
componentDidMount() { | |
const { data, average, labels } = this.props; | |
const myChartRef = this.chartRef.current.getContext('2d'); | |
myChart = new Chart(myChartRef, ...) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment