Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- componentDidMount() {
- const { data, average, labels } = this.props;
- const myChartRef = this.chartRef.current.getContext('2d');
- myChart = new Chart(myChartRef, ...)
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement