Class: Track

Track

new epiviz.ui.charts.Track(id, container, properties)

ui/charts/track.js, line 16
Name Type Description
id string
container jQuery

The div where the chart will be drawn

properties epiviz.ui.charts.VisualizationProperties

Extends

Members

protected_background*

D3 rectangle in the SVG

.

D3 rectangle in the SVG

protected,nullable_binSizenumber

Used for mouse highlighting by location

.

Used for mouse highlighting by location

protected_globalIndexColorLabelsObject.<number, string>

protected_highlightGroup*

D3 group in the SVG used for adding hover/selection elements

.

D3 group in the SVG used for adding hover/selection elements

protected_measurementColorLabelsepiviz.measurements.MeasurementHashtable.<string>

protected_nBinsnumber

Constant used for mouse highlighting by location

.

Constant used for mouse highlighting by location

Methods

inherited protected_addFilters()

ui/charts/chart.js, line 68

Deprecated method, kept for future reference

.

Deprecated method, kept for future reference

Deprecated
  • Yes

protected_captureMouseHover()

ui/charts/track.js, line 150

protected_initialize()

ui/charts/track.js, line 46

Initializes the chart and draws the initial SVG in the container

.

Initializes the chart and draws the initial SVG in the container

displayType(){epiviz.ui.charts.VisualizationType.DisplayType}

ui/charts/track.js, line 91
Returns:
Type Description
epiviz.ui.charts.VisualizationType.DisplayType

doHover(selectedObject)

ui/charts/track.js, line 96
Name Type Description
selectedObject epiviz.ui.charts.ChartObject

doUnhover()

ui/charts/track.js, line 141

draw(range, data, slide, zoom){Array.<epiviz.ui.charts.ChartObject>}

ui/charts/track.js, line 80
Name Type Description
range epiviz.datatypes.GenomicRange optional
data epiviz.datatypes.GenomicData optional
slide number optional
zoom number optional
Returns:
Type Description
Array.<epiviz.ui.charts.ChartObject> The objects drawn

inherited properties(){epiviz.ui.charts.VisualizationProperties}

ui/charts/chart.js, line 284
Returns:
Type Description
epiviz.ui.charts.VisualizationProperties

inherited transformData(range, data){epiviz.deferred.Deferred}

ui/charts/chart.js, line 151
Name Type Description
range epiviz.datatypes.GenomicRange
data epiviz.datatypes.GenomicData
Returns:
Type Description
epiviz.deferred.Deferred
comments powered by Disqus