title: I cannot update my chart ( in react-chartjs-2 )
body: <p>I want to update my chart every seconds</p>
  <p>Here is my code :</p>
  <pre><code>class Chart extends Component {
  
      constructor(props) {
          super(props);
          this.state = {
              chartData: {
                  // my charData
              }
          }
  
          setInterval(function(){
             this.props.changeHandler();
          }, 500); 
      }
  
  
      changeHandler() {
          this.state.update();
      } 
  
      // my render
  }
  </code></pre>
  <p>But I have this error : <em>this.props is undefined</em> (On the setInterval)</p>
  <p>Anyone can help me please ?</p>