Loop for first graphic with xvec
parent
918789d1a3
commit
514bbb1a98
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue