How to create custom series class for QChart
-
Hi all,
How to create custom series class for QChart? For example inheritance from QAbstractSeries (or another inherited classes, like QXYSeries class) is impossible because everything related with QGraphicsItem containts in QAbstractSeriesPrivate class. -
Hi all,
How to create custom series class for QChart? For example inheritance from QAbstractSeries (or another inherited classes, like QXYSeries class) is impossible because everything related with QGraphicsItem containts in QAbstractSeriesPrivate class.@feodor_ra said in How to create custom series class for QChart:
is impossible because everything related with QGraphicsItem containts in QAbstractSeriesPrivate class.
This should not be the problem, the real problem is here: https://doc.qt.io/qt-5/qabstractseries.html#SeriesType-enum i.e. the series types are a closed group that can't be expanded. All you can do is add your own series into Qt sources and recompile the whole QtCharts module