I've got a QtGraphs-based example I'm working on where I have a GraphsView 
object with a 'addAreaSeries(seriesList)' function.

Inside that addAreaSeries function, I'd like to be able to dynamically create 
an new AreaSeries object (which in turn, requires dynamically creating 2 
LineSeries objects) for each element in the seriesList object, and then attach 
those newly created AreaSeries objects to the GraphsView.

I don't seem to be able to figure out how to do that... Most of my googling 
keeps kicking me back to ChartView examples  (now deprecated) where you call:
  var series = chart.createSeries(ChartView.SeriesTypeLine, "line"+ i, xAxis, 
yAxis);

But the GraphsView object doesn't have a similar createSeries(). It does have 
an addSeries() function, but I don't seem to be able to  create the series.

Sean







This e-mail, including any attached files, may contain confidential 
information, privileged information and/or trade secrets for the sole use of 
the intended recipient. Any review, use, distribution, or disclosure by others 
is strictly prohibited. If you are not the intended recipient (or authorized to 
receive information for the intended recipient), please contact the sender by 
reply e-mail and delete all copies of this message.
_______________________________________________
Interest mailing list
[email protected]
https://lists.qt-project.org/listinfo/interest

Reply via email to