error

[ root » graph » plot » error ]

To style the chart error bars. (Use the "errors" array to specify the error bar values.) Refer to the Error Bars Tutorial for more information.

Note: Our charting library currently supports error bars on the following chart types: area, varea, bar, hbar, line, varea, and scatter.

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

hover-state hoverState

Object

In the object, add a "visible" attribute and set the value to false. This will turn off hover state on the error bars.

{...}

line-color lineColor

String

Sets the line color of the object.

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

line-gap-size lineGapSize

Mixed

Can be used to create custom dashed or dotted lines when used with line-segment-size. This will control the size of the gaps between each line segment.

4 | "6px" | ...

line-segment-size lineSegmentSize

Mixed

Can be used to create custom dashed or dotted lines when used with line-gap-size. This will control the size of the visible segment of line.

4 | "6px" | ...

line-style lineStyle

String

Sets the style applied to lines and borders of the object.

"solid" | "dotted" | "dashed"

line-width lineWidth

Mixed

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

4 | "6px" | ...

size

Mixed

Sets the size of the object/shape.

4 | "6px" | ...