Class: ScatterPlot

ScatterPlot

new epiviz.plugins.charts.ScatterPlot(id, container, properties)

plugins/charts/scatter-plot.js, line 16
Name Type Description
id string
container jQuery
properties epiviz.ui.charts.VisualizationProperties

Extends

Members

protected,nullable_binSizenumber

Used for mouse highlighting by location

.

Used for mouse highlighting by location

protected_globalIndexColorLabelsObject.<number, string>

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_drawAxes(xScale, yScale, xTicks, yTicks, svg, width, height, margins)

plugins/charts/scatter-plot.js, line 401
Name Type Description
xScale

D3 linear scale for the x axis

yScale

D3 linear scale for the y axis

xTicks number optional
yTicks number optional
svg optional

D3 svg container for the axes

width number optional
height number optional
margins epiviz.ui.charts.Margins optional

protected_initialize()

plugins/charts/scatter-plot.js, line 91

colorLabels(){Array.<{name: string, color: string}>}

plugins/charts/scatter-plot.js, line 386
Returns:
Type Description
Array.<{name: string, color: string}>

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

ui/charts/plot.js, line 30
Returns:
Type Description
epiviz.ui.charts.VisualizationType.DisplayType

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

plugins/charts/scatter-plot.js, line 106
Name Type Description
range epiviz.datatypes.GenomicRange optional
data epiviz.datatypes.GenomicData optional nullable
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