title: How to get 2 data-points with one name in series Line Graph Highcharts Reactjs
body: <p>I want the following output with Highcharts <a href="https://i.stack.imgur.com/GktxQ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/GktxQ.png" alt="enter image description here"></a></p>
  
  <p>I want a drop down Selector which will have the values from database with the latest entry at the beginning. And a series selector with 2 data for example </p>
  
  <pre><code>series:{
     name: "Xyz",
     data1: [],
     data2: []
  }
  </code></pre>
  
  <p>The data is dynamic and is in JSON format . And want to change the visibility of the series by keeping one true and others false.
  Can someone please help me to get the above image as an output?
  Thank you :)</p>