Lel, always meant to no-cache the step curve..
parent
c646b435bf
commit
74c215d5b2
|
@ -407,9 +407,6 @@ 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..
|
|
||||||
cache_mode: int = QGraphicsItem.NoCache
|
|
||||||
|
|
||||||
def draw_last_datum(
|
def draw_last_datum(
|
||||||
self,
|
self,
|
||||||
path: QPainterPath,
|
path: QPainterPath,
|
||||||
|
@ -435,6 +432,11 @@ class FlattenedOHLC(Curve):
|
||||||
|
|
||||||
class StepCurve(Curve):
|
class StepCurve(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 declare_paintables(
|
def declare_paintables(
|
||||||
self,
|
self,
|
||||||
) -> None:
|
) -> None:
|
||||||
|
|
Loading…
Reference in New Issue