Qt provides several lower-level drawing primitives. In this case, you probably want QGraphicsPathItem: http://doc.qt.io/archives/qt-4.8/qgraphicspathitem.html
You could also use pg.arrayToQPath to generate the QPath: http://www.pyqtgraph.org/documentation/functions.html#pyqtgraph.arrayToQPath On May 12, 2018 4:48 AM, "Robert Budzyński" <[email protected]> wrote: I have a PlotDataItem that form a closed polygon, and I would like to fill the interior area with some color other than the background, or perhaps with some other QBrush. How to achieve this? FillBetweenItem does not seem to cover this case. -- You received this message because you are subscribed to the Google Groups "pyqtgraph" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/ msgid/pyqtgraph/86fe0a56-85cc-4d19-9149-3b69bedc0081%40googlegroups.com <https://groups.google.com/d/msgid/pyqtgraph/86fe0a56-85cc-4d19-9149-3b69bedc0081%40googlegroups.com?utm_medium=email&utm_source=footer> . For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "pyqtgraph" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/pyqtgraph/CACZXET-0t3HFOGR9u8%3Ddxyr89gD8i%3D9Fh5f-LjD%3DH1jxYeJTzw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
