Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Can't find desired functionality in QChart
drmhkelley last edited by
Relatively experience Qt user exploring QCharts for the first time. I'm looking for two plotting functionalities but can't find anything comparable in either documentation or examples - but suspect someone has already figured these out.
When plotting a series of x,y data, I want to choose at plot time whether to display the data with individual point markers, with lines connecting the points, or both. I found QScatterSeries and QLineSeries, each of which is appropriate for one or the other, but I'd rather not need to have two series just to enable the desired functionality.
All of my target applications are for displaying scientific data, for which "error bars" or "uncertainty intervals" are always essential. How would I add "error bars" to data points/lines in QCharts?
Any pointers to prior efforts to address these will be most appreciated.
990414020 last edited by
Same problems confused me. Have you got any solution?
I don't think its possible to change between QAbstractSeries derived classe on the fly. You would have to add 2 series to the Qchart and make them visible/invisible on demand.
For the "error bar" I would take a look at the QBoxPlotSeries Class