From 2d7359851f925c41c3dc2dc21c10d15efa73e533 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Thu, 9 Feb 2023 09:21:30 -0500 Subject: [PATCH] Go back to no-cache on OHLC downsample line --- piker/ui/_curve.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/piker/ui/_curve.py b/piker/ui/_curve.py index 358d4844..1e3c4e75 100644 --- a/piker/ui/_curve.py +++ b/piker/ui/_curve.py @@ -407,6 +407,11 @@ class Curve(FlowGraphic): # (via it's max / min) even when highly zoomed out. class FlattenedOHLC(Curve): + # avoids strange dragging/smearing artifacts when panning + # as well as mouse over artefacts when the vlm chart series + # is "shorter" then some overlay.. + cache_mode: int = QGraphicsItem.NoCache + def draw_last_datum( self, path: QPainterPath,