new epiviz.ui.charts.Visualization(id, container, properties)
ui/charts/visualization.js, line 17
Uses data of T type for drawing objects of a subtype of epiviz.ui.charts.VisObject
.Uses data of T type for drawing objects of a subtype of epiviz.ui.charts.VisObject
Name | Type | Description |
---|---|---|
id |
string | |
container |
jQuery |
The div where the visualization will be drawn |
properties |
epiviz.ui.charts.VisualizationProperties |
Members
-
staticepiviz.ui.charts.Visualization.CustomSettingsstring
-
Properties:
Name Type Default Description TITLE
string title MARGIN_LEFT
string marginLeft MARGIN_RIGHT
string marginRight MARGIN_TOP
string marginTop MARGIN_BOTTOM
string marginBottom X_MIN
string xMin X_MAX
string xMax Y_MIN
string yMin Y_MAX
string yMax COL_LABEL
string colLabel ROW_LABEL
string rowLabel -
static,constantepiviz.ui.charts.Visualization.SVG_MARGINnumber
-
-
_autoPropagateChangesboolean
-
-
protected_colorsChangedepiviz.events.Event.<epiviz.ui.charts.VisEventArgs.<epiviz.ui.charts.ColorPalette>>
-
-
protected_dataWaitEndepiviz.events.Event.<epiviz.ui.charts.VisEventArgs>
-
-
protected_deselectepiviz.events.Event.<epiviz.ui.charts.VisEventArgs>
-
-
protected_hoverepiviz.events.Event.<epiviz.ui.charts.VisEventArgs.<epiviz.ui.charts.VisObject>>
-
-
protected,nullable_lastDataT
-
-
protected_lastRangeepiviz.datatypes.Range
-
-
protected_markersArray.<epiviz.ui.charts.markers.VisualizationMarker>
-
-
protected_markersMapObject.<string, epiviz.ui.charts.markers.VisualizationMarker>
-
-
protected_selectepiviz.events.Event.<epiviz.ui.charts.VisEventArgs.<epiviz.ui.charts.VisObject>>
-
-
protected_slidenumber
-
-
protected_svg
The D3 svg handler for the visualization
. -
The D3 svg handler for the visualization
-
protected,nullable_unalteredDataT
-
-
protected_unhoverepiviz.events.Event.<epiviz.ui.charts.VisEventArgs>
-
-
protected_zoomnumber
-
Methods
-
protected_clearAxes(svg)
ui/charts/visualization.js, line 350 -
Name Type Description svg
optional D3 svg container for the axes
-
protected_drawAxes(xScale, yScale, xTicks, yTicks, svg, width, height, margins, xAxisFormat, yAxisFormat, xLabels, yLabels, xLabelsBtTicks, yLabelsBtTicks)
ui/charts/visualization.js, line 373 -
Name Type Description xScale
optional D3 linear scale for the x axis
yScale
optional 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 xAxisFormat
function optional yAxisFormat
function optional xLabels
Array.<string> optional yLabels
Array.<string> optional xLabelsBtTicks
boolean optional yLabelsBtTicks
boolean optional -
protected_initialize()
ui/charts/visualization.js, line 311Initializes the visualization and draws the initial SVG in the container
. -
Initializes the visualization and draws the initial SVG in the container
-
autoPropagateChanges(){boolean}
ui/charts/visualization.js, line 826 -
Returns:
Type Description boolean -
colorLabels(){Array.<string>}
ui/charts/visualization.js, line 607 -
Returns:
Type Description Array.<string> -
colors(){epiviz.ui.charts.ColorPalette}
ui/charts/visualization.js, line 590 -
Returns:
Type Description epiviz.ui.charts.ColorPalette -
container(){jQuery}
ui/charts/visualization.js, line 552 -
Returns:
Type Description jQuery -
customSettingsValues(){Object.<string, *>}
ui/charts/visualization.js, line 632 -
Returns:
Type Description Object.<string, *> -
displayType(){epiviz.ui.charts.VisualizationType.DisplayType}
ui/charts/visualization.js, line 821 -
Returns:
Type Description epiviz.ui.charts.VisualizationType.DisplayType -
doDeselect()
ui/charts/visualization.js, line 977 -
-
doHover(selectedObject)
ui/charts/visualization.js, line 927 -
Name Type Description selectedObject
epiviz.ui.charts.VisObject -
doSelect(selectedObject)
ui/charts/visualization.js, line 959 -
Name Type Description selectedObject
epiviz.ui.charts.ChartObject -
doUnhover()
ui/charts/visualization.js, line 945 -
-
draw(range, data){Array.<epiviz.ui.charts.VisObject>}
ui/charts/visualization.js, line 526 -
Name Type Description range
epiviz.datatypes.Range optional data
T optional Returns:
Type Description Array.<epiviz.ui.charts.VisObject> -
getMarker(markerId){epiviz.ui.charts.markers.VisualizationMarker}
ui/charts/visualization.js, line 813 -
Name Type Description markerId
string Returns:
Type Description epiviz.ui.charts.markers.VisualizationMarker -
hasModifiedMethods(){boolean}
ui/charts/visualization.js, line 737 -
Returns:
Type Description boolean -
height(){number}
ui/charts/visualization.js, line 569 -
Returns:
Type Description number -
id(){string}
ui/charts/visualization.js, line 557 -
Returns:
Type Description string -
lastModifiedMethod(){string}
ui/charts/visualization.js, line 742 -
Returns:
Type Description string -
margins(){epiviz.ui.charts.Margins}
ui/charts/visualization.js, line 583 -
Returns:
Type Description epiviz.ui.charts.Margins -
measurements(){epiviz.measurements.MeasurementSet}
ui/charts/visualization.js, line 625 -
Returns:
Type Description epiviz.measurements.MeasurementSet -
onColorsChanged(){epiviz.events.Event.<epiviz.ui.charts.VisEventArgs.<epiviz.ui.charts.ColorPalette>>}
ui/charts/visualization.js, line 1000 -
Returns:
Type Description epiviz.events.Event.<epiviz.ui.charts.VisEventArgs.<epiviz.ui.charts.ColorPalette>> -
onCustomSettingsChanged(){epiviz.events.Event.<epiviz.ui.charts.VisEventArgs.<Object.<string, *>>>}
ui/charts/visualization.js, line 1020 -
Returns:
Type Description epiviz.events.Event.<epiviz.ui.charts.VisEventArgs.<Object.<string, *>>> -
onDataWaitEnd(){epiviz.events.Event.<epiviz.ui.charts.VisEventArgs>}
ui/charts/visualization.js, line 1040 -
Returns:
Type Description epiviz.events.Event.<epiviz.ui.charts.VisEventArgs> -
onDataWaitStart(){epiviz.events.Event.<epiviz.ui.charts.VisEventArgs>}
ui/charts/visualization.js, line 1035 -
Returns:
Type Description epiviz.events.Event.<epiviz.ui.charts.VisEventArgs> -
onDeselect(){epiviz.events.Event.<epiviz.ui.charts.VisEventArgs>}
ui/charts/visualization.js, line 882 -
Returns:
Type Description epiviz.events.Event.<epiviz.ui.charts.VisEventArgs> -
onHover(){epiviz.events.Event.<epiviz.ui.charts.VisEventArgs.<epiviz.ui.charts.VisObject>>}
ui/charts/visualization.js, line 867 -
Returns:
Type Description epiviz.events.Event.<epiviz.ui.charts.VisEventArgs.<epiviz.ui.charts.VisObject>> -
onMarginsChanged(){epiviz.events.Event.<epiviz.ui.charts.VisEventArgs.<epiviz.ui.charts.Margins>>}
ui/charts/visualization.js, line 1030 -
Returns:
Type Description epiviz.events.Event.<epiviz.ui.charts.VisEventArgs.<epiviz.ui.charts.Margins>> -
onMarkersModified(){epiviz.events.Event.<Array.<epiviz.ui.charts.markers.VisualizationMarker>>}
ui/charts/visualization.js, line 1015 -
Returns:
Type Description epiviz.events.Event.<Array.<epiviz.ui.charts.markers.VisualizationMarker>> -
onMethodsModified(){epiviz.events.Event.<epiviz.ui.charts.VisEventArgs.<Object.<string, string>>>}
ui/charts/visualization.js, line 1005 -
Returns:
Type Description epiviz.events.Event.<epiviz.ui.charts.VisEventArgs.<Object.<string, string>>> -
onMethodsReset(){epiviz.events.Event.<epiviz.ui.charts.VisEventArgs>}
ui/charts/visualization.js, line 1010 -
Returns:
Type Description epiviz.events.Event.<epiviz.ui.charts.VisEventArgs> -
onRemove(){epiviz.events.Event.<epiviz.ui.charts.VisEventArgs>}
ui/charts/visualization.js, line 995 -
Returns:
Type Description epiviz.events.Event.<epiviz.ui.charts.VisEventArgs> -
onSave(){epiviz.events.Event.<epiviz.ui.charts.VisEventArgs>}
ui/charts/visualization.js, line 990 -
Returns:
Type Description epiviz.events.Event.<epiviz.ui.charts.VisEventArgs> -
onSelect(){epiviz.events.Event.<epiviz.ui.charts.VisEventArgs.<epiviz.ui.charts.VisObject>>}
ui/charts/visualization.js, line 877 -
Returns:
Type Description epiviz.events.Event.<epiviz.ui.charts.VisEventArgs.<epiviz.ui.charts.VisObject>> -
onSizeChanged(){epiviz.events.Event.<epiviz.ui.charts.VisEventArgs.<{width: (number|string), height: (number|string)}>>}
ui/charts/visualization.js, line 1025 -
Returns:
Type Description epiviz.events.Event.<epiviz.ui.charts.VisEventArgs.<{width: (number|string), height: (number|string)}>> -
onUnhover(){epiviz.events.Event.<epiviz.ui.charts.VisEventArgs>}
ui/charts/visualization.js, line 872 -
Returns:
Type Description epiviz.events.Event.<epiviz.ui.charts.VisEventArgs> -
properties(){epiviz.ui.charts.VisualizationProperties}
ui/charts/visualization.js, line 562 -
Returns:
Type Description epiviz.ui.charts.VisualizationProperties -
putMarker(marker)
ui/charts/visualization.js, line 763 -
Name Type Description marker
epiviz.ui.charts.markers.VisualizationMarker -
resetModifiedMethods()
ui/charts/visualization.js, line 746 -
-
resize(width, height)
ui/charts/visualization.js, line 503 -
Name Type Description width
number height
number -
setAutoPropagateChanges(val)
ui/charts/visualization.js, line 831 -
Name Type Description val
boolean -
setColors(colors)
ui/charts/visualization.js, line 597 -
Name Type Description colors
epiviz.ui.charts.ColorPalette -
setCustomSettingsValues(settingsValues)
ui/charts/visualization.js, line 637 -
Name Type Description settingsValues
Object.<string, *> -
setModifiedMethods(modifiedMethods)
ui/charts/visualization.js, line 688 -
Name Type Description modifiedMethods
Object.<string, string> -
transformData(range, data){epiviz.deferred.Deferred}
ui/charts/visualization.js, line 838 -
Name Type Description range
epiviz.datatypes.Range data
T Returns:
Type Description epiviz.deferred.Deferred -
updateSize()
ui/charts/visualization.js, line 515 -
-
width(){number}
ui/charts/visualization.js, line 576 -
Returns:
Type Description number