title: Data filtration React Highcharts
body: <p>I want to filter my data for highcharts. What exactly I am trying to achieve is to apply <code>Highstock rangeSelector</code> functionality for all other highcharts modules like word cloud, pie chart etc. As soon as I click on <code>1m</code> option of highstock, it filters through the data within <code>one month</code> range of other charts too. </p>
  
  <p>I could not find a work around for the one, so I thought of another way, is to define custom filter buttons like <code>1m, 1d and 1y</code> and fetch the data for charts on the Click event of those buttons.</p>
  
  <p>Here is my code:
  <a href="https://stackblitz.com/edit/react-zvtkjo" rel="nofollow noreferrer">https://stackblitz.com/edit/react-zvtkjo</a></p>
  
  <p>I am fetching the data using a function in button.js file and passing the data as props to two charts: highstock and wordcloud, so that onClick of that button, the data gets passed to those charts. But the charts are rendering empty.</p>
  
  <p>Please help to resolve it.</p>