Very similar to the original bug report, just another constructor and three characters more until it segfaults:
import gdchart
myPie = gdchart.Pie3D() myPie.width = 250 myPie.height = 250 myPie.title = "Pie3D" myPie.setData(1, 2, 3, 4, 5) myPie.setLabels(["One123456789", "Two", "Three", "Four", "Five"]) myPie.color = ["red", "green", "yellow", "orange", "blue"] myPie.explode = [0, 0, 20, 0, 0] myPie.draw("pie3D.png")
(as http://www.nullcube.com/software/pygdchart2/doc/pies.html, but with longer first label)
Cheers, WB
Very similar to the original bug report, just another
constructor and three characters more until it segfaults:
import gdchart
myPie = gdchart.Pie3D() (["One123456789 ", "Two", "Three", "Four", "Five"]) "pie3D. png")
myPie.width = 250
myPie.height = 250
myPie.title = "Pie3D"
myPie.setData(1, 2, 3, 4, 5)
myPie.setLabels
myPie.color = ["red", "green", "yellow", "orange", "blue"]
myPie.explode = [0, 0, 20, 0, 0]
myPie.draw(
(as http:// www.nullcube. com/software/ pygdchart2/ doc/pies. html,
but with longer first label)
Cheers, WB