graph » scale-x » refline

ref-line, refLine

[ root » graph » scaleX » refLine ]

Use the refLine object to customize the reference line for scaleX. Refer to the X/Y-Axis Scales Tutorial for more information.


AttributeTypeInfo
alphaNumeric

Sets the transparency of the scale-x ref-line. See the orange bar. Works for output canvas and svg.

0.3 | 0.9 | ...

line-color
lineColor
String

Sets the line color of the scale-x ref-line. See the yellow bar. Works for output canvas and svg.

"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. See the space between orange bar. Works for output canvas and svg.

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. See the length of the pieces of the orange bar. Works for output canvas and svg.

4 | "6px" | ...

line-style
lineStyle
String

Sets the style applied to lines and borders of the object. See the orange dots. Works for output canvas and svg.

"solid" | "dotted" | "dashed"

line-width
lineWidth
Mixed

Sets the line width of the object. See the orange bars. Works for output canvas and svg.

4 | "6px" | ...

visibleBoolean

Sets the visibility of the object.

true | false | 1 | 0