graph » legend » icon

icon

[ root » graph » legend » icon ]

When a legend is set to draggable with an icon drag-handler, the icon object allows you to customize the appearance of the drag-handler icon.


AttributeTypeInfo
alphaNumeric

Sets the transparency of the object. Values must range between 0.0 and 1.0, with 0.0 being completely invisible and 1.0 being completely opaque. Please note that values also require the leading 0 before the decimal.

0.3 | 0.9 | ...

line-color
lineColor
String

Sets the line color of the object, applicable on non-closed shapes. See also border-colorfor closed shapes.

"none" | "transparent" | "#f00" | "#f00 #00f" | "red yellow" | "rgb(100, 15, 15)" | ...

line-width
lineWidth
Mixed

Sets the line width of the object, applicable on non-closed shapes. See also border-widthfor closed shapes.

4 | "6px" | ...

offset-x
offsetX
Mixed

Sets an X offset to apply when positioning the object/shape.

4 | "6px" | ...

offset-y
offsetY
Mixed

Sets a Y offset to apply when positioning the object/shape.

4 | "6px" | ...