[reportlab-users] How to mark a specific point in line plot?

Robin Becker robin at reportlab.com
Fri Nov 20 05:24:20 EST 2015


On 20/11/2015 09:24, K 華 wrote:
> hi,  I made my PDF with reportlab recent days, and draw a line plot in my reportnow I need to mark  max/min point  in my  line  plot, and my  code  is like  below
> lp.lines[0].symbol = makeMarker('FilledCircle')lp.lines[0].strokeDashArray = [5, 1] lp.lines[(0,2)].symbol.fillColor = colors.green
>
> however  it  doesn't  work  at  the  point(0, 2) filled  greendid I  use  the  wrong  way  to  achieve  target?  or  is  there  another  way  to  make this  target working?thanks for your help
> KK2015/11/20 		 	   		
.......

I think this is a simple deficiency in the code; we use either a global symbol 
or a row symbol if present, but don't look at the row,column symbol definitions.
-- 
Robin Becker


More information about the reportlab-users mailing list