Fix FanChartDesc for typo (#610)
Fixes #10565 - Bug occurs when selected person has more than 4 parents.
This commit is contained in:
parent
94018ed33a
commit
16a9cd4c93
@ -615,7 +615,7 @@ class FanChartDescWidget(FanChartBaseWidget):
|
||||
elif nrparent <= 4:
|
||||
angleinc = math.pi/2
|
||||
else:
|
||||
angleinc = 2 * math.pi / nrchild
|
||||
angleinc = 2 * math.pi / nrparent
|
||||
for data in self.parentsroot:
|
||||
self.draw_innerring(cr, data[0], data[1], startangle, angleinc)
|
||||
startangle += angleinc
|
||||
|
Loading…
Reference in New Issue
Block a user