QtCharts sucks
-
QtCharts sucks, it is extremly slow and there isn't any proper way to implement error bars.
I draw error bars with Box and whiskers but there isn't any way to place them on respective (x) points,
Alternative is using QCustomplot which is very expensive for non-GPL license.So why QtCharts has many types of Charts or serries but not error bars, a lot of scientist doesn't use QtCharts because of that?
-
Hi
Yes the API could be better. it's hard to customize or make new graph types.- So why QtCharts has many types of Charts or serries but not error bars, a lot of scientists doesn't use QtCharts because of that?
Well if there ever was a reason, it been lost in the times. They didn't add new charts for years so
not sure it's still on the radar.- Alternative is using QCustomplot which is very expensive for non-GPL license.
It is ? I as under the impression it was around 100 euros, pr developer.
-
Or Qwt, which is LGPL-ish: https://qwt.sourceforge.io/
-
https://vtk.org/Wiki/VTK/Charts can be useful as well.
-
KDChart is another alternative but once again it's GPL or Commercial
Charting is a hard task with so many possible customisations. In the past I cheated my way out of this problem using
QWebEngineView
and Google Charts (Box and whiskers example).