tooltip

[ root » graph » scale-v » tooltip ]

Radar Charts Only: Scale tooltips are the labels that appear when you hover over the scale items. Note that they are distinct from node tooltips. Refer to the Radar Charts Tutorial for more information.

AttributeTypeInfo

alpha

Numeric

Sets the transparency level 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 values require the leading 0 before the decimal point.

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-alpha borderAlpha

Numeric

Sets the transparency of the border. 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 | ...

border-color borderColor

String

Sets the border color of the object.

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

border-radius borderRadius

Mixed

Sets the border radius (rounded corners) of the object.

"3px" | "10px"

border-width borderWidth

Numeric

Sets the border width of the object.

1 | 3 | | "6px" | ...

font-color fontColor

String

Sets the font color of the object text.

"none" | "transparent" | "purple" | "#33ccff" | ...

font-family fontFamily

String

Sets the font family of the object text.

"Courier" | "Georgia" | "Verdana" | ...

font-size fontSize

String

Sets the font size of the object text.

12 | "20px" | ...

font-style fontStyle

String

Sets the font style of the object text.

"normal" | "italic"

font-weight fontWeight

String

Sets the font weight of the object text.

"normal" | "bold"

height

Numeric

Sets the height of the object.

10 | "20px" | 0.3 | "30%" | ...

padding

Numeric

Sets the padding around the object text.

"10%" | "25px" ...

sticky

Boolean

To create sticky tooltips. Use this with the "timeout" attribute, which allows you to specify how long you want the tooltips to "stick" to the chart.

true | false | 1 |0

text

String

Specifies what text to display in the tooltips. Use with the %scale-value (%v) token.

"Scale Tooltips" | "%v Days" | "..."

text-alpha textAlpha

Numeric

Sets the transparency of the text. 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 | ...

timeout

Numeric

To create sticky tooltips. Provide a value in milliseconds. Use this with the "sticky" attribute, which specifies whether or not tooltips will "stick" to the chart.

"30000 | 10000 | ...

visible

Boolean

Sets the visibility of the object.

true | false | 1 | 0

width

Numeric

Sets the width of the object.

10 | "20px" | 0.3 | "30%" | ...

wrap-text wrapText

Boolean

Sets whether the text will wrap, depending on the width of the object.

true | false | 1 | 0