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

TraceLayer

Extends:

src/core/layer~Layer → TraceLayer

Helper to create a trace layer.

example usage

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.