Home Manual Reference Source Repository
import AnnotatedSegment from 'waves-ui/src/shapes/annotated-segment.js'
public class | source

AnnotatedSegment

Extends:

src/shapes/segment~Segment → AnnotatedSegment

A shape to display a segment with annotation.

example usage

Member Summary

Public Members
public

$el: *

public

$label: *

Method Summary

Public Methods
public
public

render(renderingContext: *): *

public

update(renderingContext: *, datum: *)

Public Members

public $el: * source

public $label: * source

Public Methods

public getClassName(): string source

Return:

string

public render(renderingContext: *): * source

Params:

NameTypeAttributeDescription
renderingContext *

Return:

*

public update(renderingContext: *, datum: *) source

Params:

NameTypeAttributeDescription
renderingContext *
datum *