[reportlab-users] dashed line graph

Robin Becker robin at reportlab.com
Sun Dec 4 19:00:17 EST 2005


Timothy Smith wrote:
> there is no clear method of making a dashed line graph, i see there is a 
> method for pie graphs strokeDashArray, is there something similar for 
> line graphs?
you can set chart objects lines.strokeDashArray property. It is a 
collection of properties that apply to the individual lines. Try setting

chart.lines[0].strokeDashArray=3,2 just the first line

or

chart.lines.strokeDashArray=3,2 all lines
-- 
Robin Becker



More information about the reportlab-users mailing list