Loop for first graphic with xvec

big_data_lines
Tyler Goodlet 2022-04-06 12:13:05 -04:00
parent b5f2558cec
commit a1de097a43
1 changed files with 4 additions and 4 deletions

View File

@ -869,7 +869,7 @@ class ChartView(ViewBox):
if not graphics: if not graphics:
return 0 return 0
graphic = graphics[0] for graphic in graphics:
xvec = graphic.pixelVectors()[0] xvec = graphic.pixelVectors()[0]
if xvec: if xvec:
return xvec.x() return xvec.x()