Home Manual Reference Source Repository
import TickLayer from 'waves-ui/src/helpers/tick-layer.js'
public class | source

TickLayer

Extends:

src/core/layer~Layer → TickLayer

Helper to create a tick layer. Can be seen as a grid axis with user defined data or as a marker layer with entity based data.

Constructor Summary

Public Constructor
public

constructor(data: Array, options: Object, accessors: Object)

Public Constructors

public constructor(data: Array, options: Object, accessors: Object) source

Params:

NameTypeAttributeDescription
data Array

The data to render.

options Object

An object to configure the layer.

accessors Object

The accessors to configure the mapping between shapes and data.