marker

[ root » graph » crosshair-x » marker ]

Use the "marker" object in "crosshair-x" to specify how markers appear when users hover over the applicable node index. Refer to the Crosshairs Tutorial for more information

AttributeTypeInfo

alpha

Numeric

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 | ...

background-color backgroundColor

String

Sets the background color of the object. Colors can be entered by name (e.g. "red", "blue", "yellow"), in hexadecimal notation (e.g. "#FF0000", "#0000FF", "#FFFF00"), or in RGB notation (e.g. "rgb(255,0,0)", "rgb(0,0,255)", "rgb(255,255,0)"). One color will set a solid background color, two colors will, by default, create a horizontal gradient. For more complex gradients, use gradient-colors and gradient-stops.

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

border-color borderColor

String

Sets the border color of the object, applicable on closed shapes. See the square points between the lines.

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

border-width borderWidth

Numeric

Sets the border width of the object, applicable on closed shapes. See the square points between the lines.

4 | "6px" | ...

size

Numeric

Sets the size of the object/shape.

4 | "6px" | ...

type

String

Sets the type of the object/shape.

"circle" (default) | "square" | star5" | ...

visible

Boolean

Sets the visibility of the object. Allows you to turn off the object without removing lines of JSON.

true | false | 1 | 0