tick

[ root » graph » scale-y » tick ]

Use the tick object to customize the tick marks for scaleY. Refer to the X/Y-Axis Scales Tutorial for more information.

AttributeTypeInfo

alpha

Numeric

Sets the transparency of the tick. In the example, the scale-x ticks are vertical lines | in red in between the months.

0.3 | 0.9 | ...

line-color lineColor

String

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

"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" | "dashdot"

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

placement

String

Determines the placement of tick marks along an axis line.

inner | cross | outer

shadow

Boolean

Sets whether the object's shadow is visible or not.

Has limited effect on HTML5 implementation.

true | false | 1 | 0

shadow-alpha shadowAlpha

Numeric

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

Has limited effect on HTML5 implementation.

0.3 | 0.9 | ...

shadow-angle shadowAngle

Numeric

Sets the angle of the shadow underneath the object.

Has limited effect on HTML5 implementation.

-45 | 115 | ...

shadow-blur shadowBlur

Mixed

Sets the blur effect size for the shadow of the object.

Has limited effect on HTML5 implementation.

4 | "6px" | ...

shadow-color shadowColor

String

Sets the color of the shadow of the object.

Has limited effect on HTML5 implementation.

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

shadow-distance shadowDistance

Mixed

Sets the distance between the shadow and the object.

Has limited effect on HTML5 implementation.

4 | "6px" | ...

size

Mixed

Sets the size of the object/shape.

4 | "6px" | ...

visible

Boolean

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

true | false | 1 | 0