[reportlab-users] strokeColour error weirdness
Timothy Smith
timothy at open-networks.net
Wed Jul 26 19:29:44 EDT 2006
when building a line graph, if i put 4 lines on the same graph i get
this error
AttributeError: LineChartProperties instance has no attribute 'strokeColor'
upon investigating there is indeed 2 lines with out those properties.
[31615.880000000001, 29756.5, 37321.449999999997, 881.70000000000005]
['__doc__', '__getattr__', '__module__', '__setattr__', '_attrMap',
'_index', '_parent', 'dumpProperties', 'getProperties', 'setProperties',
'strokeColor', 'verify']
[33000.0, 33000.0, 33000.0, 33000.0]
['__doc__', '__getattr__', '__module__', '__setattr__', '_attrMap',
'_index', '_parent', 'dumpProperties', 'getProperties', 'setProperties',
'strokeColor', 'verify']
[31615.880000000001, 29756.5, 37321.449999999997, 881.70000000000005]
['__doc__', '__getattr__', '__module__', '__setattr__', '_attrMap',
'_index', '_parent', 'dumpProperties', 'getProperties', 'setProperties',
'verify']
[28656.549999999999, 35045.050000000003, 34189.949999999997,
37077.300000000003]
['__doc__', '__getattr__', '__module__', '__setattr__', '_attrMap',
'_index', '_parent', 'dumpProperties', 'getProperties', 'setProperties',
'verify']
(thats the data + the lines properties)
tell me why does it suddenly make lines without the strokeColour
property? i'm not doing anything different to the 4 lines :/
More information about the reportlab-users
mailing list