Go back to no-cache on OHLC downsample line

storage_cli
Tyler Goodlet 2023-02-09 09:21:30 -05:00
parent d742dd25c9
commit 7f7af4ba00
1 changed files with 5 additions and 0 deletions

View File

@ -407,6 +407,11 @@ class Curve(FlowGraphic):
# (via it's max / min) even when highly zoomed out. # (via it's max / min) even when highly zoomed out.
class FlattenedOHLC(Curve): 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( def draw_last_datum(
self, self,
path: QPainterPath, path: QPainterPath,