Unsolved Working with QPainter and QCharts
-
Hi dudes,
In a Qt Widget app by QCharts and QLineSeries I drew this simple figure using numbers: 0 1 1 0 as the values of the Y axis (it's either 0 or 1):
What I need is a curved view not that straight one. I think I can use QPainter drawArch to work this out. But it's not easy nor do I know if there's any better method for that issue. Any ideas, please?
-
How to use
void QPainter::drawArc(...)
on a QChart? For instance, to draw a few arches instead of those lines to have a curved wave on the QChart above?
If we inherit a QWidget and set the chart as its central widget then how to map the arches on it?