Add native QCustomPlot renderer and shared plot adapters

This commit is contained in:
2026-10-07 11:33:14 +03:00
parent 90046de7fd
commit 79b0cde20e
23 changed files with 44815 additions and 35 deletions

View File

@@ -157,8 +157,8 @@ class DualAxisPlot:
self._navigation_zoom(factor, True, pos)
event.accept()
def paint_axes_and_markers(self, painter):
super().paint_axes_and_markers(painter)
def paint_axes(self, painter):
super().paint_axes(painter)
if not self.right_axis_keys or not self.core:
return
paint_right_axis(painter, self.core, self.value_rect(), self.right_visible_bounds)
@@ -188,7 +188,7 @@ class SingleAmplitudeAxis:
rect.setWidth(max(1, rect.width() - 72))
return rect
def paint_axes_and_markers(self, painter):
super().paint_axes_and_markers(painter)
def paint_axes(self, painter):
super().paint_axes(painter)
if self.core and not self.has_left_axis():
paint_right_axis(painter, self.core, self.value_rect(), self.visible_bounds)