Go back to no-cache on OHLC downsample line

log_linearized_curve_overlays
Tyler Goodlet 2023-02-09 09:21:30 -05:00
parent db1e0a04f8
commit 2d7359851f
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.
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,