title: Creating QScatterSerie with for loop
body: <p>I need to create several QScatterSeries with for loopand I need to named them seperately. Here is the sample of my alghoritm :</p>
  <pre><code> for(int serie_count=0;serie_count&lt;50;serie_count++){
          QString machine_name = QString::number(serie_count);
          QString serie= &quot;serie&quot;;
          QString serie_low = serie.append(machine_name);
  
          QScatterSeries *serie_low = new QScatterSeries();
  
  </code></pre>
  <p>But it gives me error because I previously declared serie_low as a string so I cant declare it as a QScatterSeries. Is there any way to do that? Any help will be appreciated.thanks.</p>