pikers / piker

(e2e) foss trading for non-tinas
GNU Affero General Public License v3.0
103 stars 17 forks source link

`PlotItem` overlays #257

Closed goodboy closed 2 years ago

goodboy commented 2 years ago

This replaces https://github.com/pyqtgraph/pyqtgraph/pull/2162 and brings all that work into this repo until such a time as pyqtgraph devs and other contributors have a need for a fully functional, and fast multi-PlotItem overlay with support for multiple axes 😎

There's still some further refinements I'd like to make to this approach but it can likely come in a follow up PR after some "production" testing of this bare bones working implementation.

I don't want to go into all the dirty deats in this description since a lot of it would be duplicate discussion from https://github.com/pyqtgraph/pyqtgraph/pull/2162 and https://github.com/pyqtgraph/pyqtgraph/pull/1359, but the main idea is to allow overlayed graph's each with an individual ViewBox but with support for multiple domain-codomain pairs wherein multiple adjacent axes are nicely laid out together.

This is basically our entrypoint to so called "aggregate" feed charts 😉