[reportlab-users] Modify marker(FilledCross) size

Robin Becker robin at reportlab.com
Wed Jul 23 06:07:26 EDT 2008


Zvjezdan Pranjic wrote:

> Hi everyone,

>

> I'm developing some chart for an auction monitor. There are two axis (x and y) and there are some markers for the auction bids. The problem is, that the markers (for example 'makeMarker("FilledSquare")' ) are to small.

> Is there any chance to modify the size of them? I would like to make them bigger.

>

> Hope someone can help. Thanks in advice.



>

> Zvjezdan

>

hi, the objects that are returned by makeMarker have properties that you can set.

You need to set the

size=20

Markers are coded in reportlab/graphics/widgets/markers.py there you can see
that we have properties like

kind = 'FilledSquare',
strokeColor = black,
strokeWidth = 0.1,
fillColor = None,
size = 5,
x = 0,
y = 0,
dx = 0,
dy = 0,
angle = 0,
arrowBarbDx = -1.25,
arrowHeight = 1.875,


hope this helps
--
Robin Becker


More information about the reportlab-users mailing list