PlotAnnotationConfig

interface PlotAnnotationConfig

An interface that defines the parameters for initializing a PlotAnnotation.

Properties

end

end: undefined | number

The end position of the annotation in semantic coordinates (generally a position on a chromosome in base pairs).

id

id: undefined | string

A unique identifier for an Annotation object.

row

row: undefined | number

This describes which horizontal row the Annotation will be rendered in a Chart, assuming that the y-positioning is not overwritten during a call to the glyph rendering API.

start

start: undefined | number

The start position of the annotation in semantic coordinates (generally a position on a chromosome in base pairs).

suppressWarnings

suppressWarnings: undefined | boolean

This flag suppresses Annotation initialization warnings. Unless you really know what you’re doing, you’ll probably want to leave this alone.

width

width: undefined | number

The width of the annotation in semantic coordinates.

xValues

xValues: undefined | number []

The x values of the plot data.

yValues

yValues: number []

The y values of the plot data.