style

[ root » graph » options » style ]

Word Clouds Only: Use the "style" object to style your word cloud. Refer to the Word Cloud 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 transparent and 1.0 being completely opaque. Note that the leading zero is required before the decimal.

0.3 | 0.4 | 0.9 | ...

background-color backgroundColor

String

Sets the background color of the object. Colors can be entered by name (e.g., 'purple', 'blue'), hexadecimal notation (e.g., '#666699', '#33ccff'), or RGB notation (e.g., 'rgb(255,0,0)', 'rgb(0,0,255)').

'none' | 'transparent' | 'purple' | '#33ccff' | 'rgb(100, 15, 15)' | ...

border-color borderColor

String

Sets the border color of the object. Colors can be entered by name (e.g., 'purple', 'blue'), hexadecimal notation (e.g., '#666699', '#33ccff'), or RGB notation (e.g., 'rgb(255,0,0)', 'rgb(0,0,255)').

'none' | 'transparent' | 'purple' | '#33ccff' | 'rgb(100, 15, 15)' | ...

border-radius borderRadius

Numeric

Sets the border radius of the object.

2 | 3 | '5px' | ...

border-width borderWidth

Numeric

Sets the border width of the object.

1 | 3 | '6px' | ...

font-family fontFamily

String

Sets the font family of the object.

'Arial' | 'Tahoma,Verdana' | ...

hover-state hoverState

Object

Use this object to style how the object appears when hovered over.

{...}

line-style lineStyle

String

Sets the line style of the object.

'solid' | 'dotted' | 'dashed' | 'dashdot'

padding

Numeric

Sets the padding of the object.

3 | '5px' | '10px' | ...

text-alpha textAlpha

Numeric

Sets the text transparency of the object. Values must range between 0.0 and 1.0, with 0.0 being completely transparent and 1.0 being completely opaque. Note that the leading zero is required before the decimal.

0.3 | 0.4 | 0.9 | ...

tooltip

Object

Use this object to turn on and customize the tooltips.

{...}