[reportlab-users] how to handle the missing value in a linechart by not drawing the point?

Meitham Jamaa meitham at reportlab.com
Fri Jan 8 05:32:38 EST 2010



>

> How could I break the line into two discontinued lines?

>

Hi,
I think you need to break your data like below

data2 = [
(5, 20), # None at the end are not important
(None, None, None, 45, 6, 4), # add Nones in beginning so you line start point shifts
(5, 20, 46, 38, 23, 21, 6, 14)
]


Best regards
Meitham


More information about the reportlab-users mailing list