Class: ChartObject

ChartObject

new epiviz.ui.charts.ChartObject(id, start, end, values, seriesIndex, valueItems, measurements, cssClasses)

ui/charts/chart-object.js, line 23

A struct for various objects in visualizations, like blocks, genes or circles in scatter plots

.

A struct for various objects in visualizations, like blocks, genes or circles in scatter plots

Name Type Description
id string
start number
end number
values Array.<number> optional nullable

One for each measurement

seriesIndex number optional
valueItems Array.<Array.<epiviz.datatypes.GenomicData.ValueItem>> optional

For each measurement, an array of value items

measurements Array.<epiviz.measurements.Measurement> optional
cssClasses string optional

Extends

Members

cssClassesstring

endnumber

idstring

measurementsArray.<epiviz.measurements.Measurement>

seriesIndexnumber

startnumber

valueItemsArray.<Array.<epiviz.datatypes.GenomicData.ValueItem>>

For each measurement, an array of value items

.

For each measurement, an array of value items

nullablevaluesArray.<number>

Methods

dimensions(){Array.<number>}

ui/charts/chart-object.js, line 123

Number of measurements times number of objects stored per measurement

.

Number of measurements times number of objects stored per measurement

Returns:
Type Description
Array.<number>

getEnd(i, j){number}

ui/charts/chart-object.js, line 112

Measurement i, object j

.

Measurement i, object j

Name Type Description
i number
j number
Returns:
Type Description
number

getMetadata(i, j, metadataCol){string}

ui/charts/chart-object.js, line 90
Name Type Description
i number
j number
metadataCol string
Returns:
Type Description
string

getStart(i, j){number}

ui/charts/chart-object.js, line 104

Measurement i, object j

.

Measurement i, object j

Name Type Description
i number
j number
Returns:
Type Description
number

metadataColumns(){Array.<string>}

ui/charts/chart-object.js, line 117
Returns:
Type Description
Array.<string>

inherited metadataLooseCompare(){boolean}

ui/charts/vis-object.js, line 63
Returns:
Type Description
boolean

inherited overlapsWith(other){boolean}

ui/charts/vis-object.js, line 69
Name Type Description
other epiviz.ui.charts.VisObject
Returns:
Type Description
boolean

regionEnd(){number}

ui/charts/chart-object.js, line 82
Returns:
Type Description
number

regionStart(){number}

ui/charts/chart-object.js, line 77
Returns:
Type Description
number
comments powered by Disqus