Skip to main content

IScatterPlotSettings

Defined in: js-api/src/interfaces/d4.ts:3026

Properties

PropertyTypeDescriptionDefined in
allowDynamicMenusboolean-js-api/src/interfaces/d4.ts:3341
allowZoomboolean-js-api/src/interfaces/d4.ts:3253
annotationFontstring-js-api/src/interfaces/d4.ts:3428
annotationRegionsstring-js-api/src/interfaces/d4.ts:3422
autoAxisSizebooleanIf true, X Axis Height and Y Axis Width are calculated automatically to fit the required precision. If false, the specified X Axis Height and Y Axis Width properties are used.js-api/src/interfaces/d4.ts:3310
autoLayoutboolean-js-api/src/interfaces/d4.ts:3255
axesFollowFilterbooleanWhen true, scatter plot will zoom to an area defined by the range filters for X and Y columns, even if Zoom And Filter property is not set to "Zoom by Filter".js-api/src/interfaces/d4.ts:3035
axesUseColumnFormatbooleanDetermines whether the axes should follow the non-precision-related format (such as "money") set for the corresponding column.js-api/src/interfaces/d4.ts:3284
axisFontstring-js-api/src/interfaces/d4.ts:3318
axisLineColornumber-js-api/src/interfaces/d4.ts:3269
axisTextColornumber-js-api/src/interfaces/d4.ts:3271
backColornumber-js-api/src/interfaces/d4.ts:3257
categoricalColorSchemenumber[]Applies only to columns with 100+ categories; below that, the column's color coding is used.js-api/src/interfaces/d4.ts:3280
colorstringA column to be used for color-coding. Could be numerical or categorical. If not set, Filtered Rows Color is used for markers that pass the filter. Color palettes could defined either for columns in the column context panel, or via Linear Color Scheme and Categorical Color Scheme properties.js-api/src/interfaces/d4.ts:3125
colorAxisType"linear" | "logarithmic"-js-api/src/interfaces/d4.ts:3133
colorColumnNamestring-js-api/src/interfaces/d4.ts:3126
colorMapstringCategorical coloring time unit map function (applicable to dates only).js-api/src/interfaces/d4.ts:3129
colorMaxnumber-js-api/src/interfaces/d4.ts:3139
colorMinnumber-js-api/src/interfaces/d4.ts:3137
controlsFontstringViewer controls elements font.js-api/src/interfaces/d4.ts:3339
dataValuesstringControls whether columns on X and Y axes are displayed in tooltip Do not add: they are not shown Data values only: only they are shown Merge: standard behaviorjs-api/src/interfaces/d4.ts:3297
defaultRendererboolean-js-api/src/interfaces/d4.ts:3322
descriptionstringViewer description that gets shown at the Descriptor Position. Markup is supported.js-api/src/interfaces/d4.ts:3355
descriptionPosition"Top" | "Bottom" | "Left" | "Right"-js-api/src/interfaces/d4.ts:3367
descriptionVisibilityMode"Auto" | "Always" | "Never"-js-api/src/interfaces/d4.ts:3369
displayLabels"Auto" | "Always" | "Never"Determines how to show marker label: Always - show labels for all visible markers Auto - show labels only for markers where enough space is available Never - show no labels.js-api/src/interfaces/d4.ts:3194
filterstringFormula that filters out rows to show. Examples: ${AGE} > 20 or ${WEIGHT / 2)} > 100, ${SEVERITY} == 'Medium', ${RACE}.endsWith('sian')js-api/src/interfaces/d4.ts:3336
filteredOutRowsColornumber-js-api/src/interfaces/d4.ts:3261
filteredRowsColornumber-js-api/src/interfaces/d4.ts:3259
filterOutInvalidbooleanInvalid are null values and not positive numbers if axis is logarithmic.js-api/src/interfaces/d4.ts:3028
formulaFontstring-js-api/src/interfaces/d4.ts:3442
formulaLinesstring-js-api/src/interfaces/d4.ts:3430
gridLineColornumber-js-api/src/interfaces/d4.ts:3273
helpstringHelp to be shown when user clicks on the '?' icon on top. Could either be in markdown, or a URL (starting with '/' or 'http').js-api/src/interfaces/d4.ts:3359
histogramBinsnumberNumber of bins for axis histogramsjs-api/src/interfaces/d4.ts:3090
initializationFunctionstringNamespace-qualified function that gets executed when a viewer is initializedjs-api/src/interfaces/d4.ts:3362
invertColorSchemeboolean-js-api/src/interfaces/d4.ts:3135
invertXAxisboolean-js-api/src/interfaces/d4.ts:3062
invertYAxisboolean-js-api/src/interfaces/d4.ts:3064
jitterSizenumberRandomly shift (x, y) marker position up to the Jitter Size pixels. Useful when multiple points fall on the same exact position. If Jitter Size Y is defined, then Jitter Size shifts x only.js-api/src/interfaces/d4.ts:3171
jitterSizeYnumberRandomly shift y marker position up to the Jitter Size Y pixels.js-api/src/interfaces/d4.ts:3174
labelAsMarkerSizenumberMarker size in which label is inscribed.js-api/src/interfaces/d4.ts:3206
labelColornumber-js-api/src/interfaces/d4.ts:3267
labelColorAsMarkerbooleanTo display labels separately or as markers (works for non-text labels).js-api/src/interfaces/d4.ts:3203
labelColumnNamesstring[]Label columns to show next to the markers.js-api/src/interfaces/d4.ts:3185
labelContentSizenumberLabel inner content size.js-api/src/interfaces/d4.ts:3209
labelFontstring-js-api/src/interfaces/d4.ts:3320
lassoToolbooleanWhen true, lasso area selector is used instead of the rectangular one. Toggle this option by pressing L.js-api/src/interfaces/d4.ts:3251
legendPosition"Top" | "Bottom" | "Auto" | "Left" | "Right" | "RightTop" | "RightBottom" | "LeftTop" | "LeftBottom"-js-api/src/interfaces/d4.ts:3326
legendVisibility"Auto" | "Always" | "Never"-js-api/src/interfaces/d4.ts:3324
linearColorSchemenumber[]-js-api/src/interfaces/d4.ts:3277
linesBystringWhen defined, lines are split into separate series by this categorical column instead of the color column.js-api/src/interfaces/d4.ts:3217
linesByColumnNamestring-js-api/src/interfaces/d4.ts:3218
linesOrderstringWhen defined, a line would be drawn for each series (defined by the categorical color column) using the order specified by "Lines Order"js-api/src/interfaces/d4.ts:3213
linesOrderColumnNamestring-js-api/src/interfaces/d4.ts:3214
linesWidthnumberDefines the width of the lines connecting the markers. See Lines Width.js-api/src/interfaces/d4.ts:3221
markerBorderWidthnumber-js-api/src/interfaces/d4.ts:3178
markerDefaultSizenumberBy default - automatic sizing based on current dataframejs-api/src/interfaces/d4.ts:3164
markerDrawBorderboolean-js-api/src/interfaces/d4.ts:3176
markerMaxSizenumber-js-api/src/interfaces/d4.ts:3182
markerMinSizenumber-js-api/src/interfaces/d4.ts:3180
markerOpacitynumber-js-api/src/interfaces/d4.ts:3166
markersstringA categorical column that determines the shape of the markers.js-api/src/interfaces/d4.ts:3155
markersColumnNamestring-js-api/src/interfaces/d4.ts:3156
markerSizeScaling"linear" | "logarithmic"Linear or logarithmic scale for the Size column.js-api/src/interfaces/d4.ts:3152
markersMapstringMarker category time unit map function (applicable to dates only).js-api/src/interfaces/d4.ts:3159
markerTypestring-js-api/src/interfaces/d4.ts:3161
missingValueColornumber-js-api/src/interfaces/d4.ts:3265
mouseDragstring-js-api/src/interfaces/d4.ts:3247
movingAverageLineColornumber-js-api/src/interfaces/d4.ts:3418
movingAverageLineTransparencynumber-js-api/src/interfaces/d4.ts:3420
movingAveragePerCategorybooleanSplits the average by category (color column on the scatter plot, Split column on the line chart), up to 20.js-api/src/interfaces/d4.ts:3416
movingAverageWindownumberTrailing window size, interpreted per Moving Average Window Unit: a count of Points, an Absolute* width in X-axis units, or that many time periods (e.g. 30 Days, 3 Months).js-api/src/interfaces/d4.ts:3404
movingAverageWindowUnitstringWindow unit (Points, a row count, by default): Absolute — a width in X-axis units, for a numeric X axis. Days, Weeks, Months, Quarters, Years — a fixed time period, for a datetime X axis (falls back to Points when X is not datetime).js-api/src/interfaces/d4.ts:3410
onInitializedScriptstringJavaScript that gets executed after a viewer is initialized and added to the TableViewjs-api/src/interfaces/d4.ts:3365
regressionCommonSlopebooleanFit the per-category regression lines by ANCOVA: one common (pooled) slope, each line through its group's adjusted mean, with a Regression Confidence Level band. Needs numerical X and Y.js-api/src/interfaces/d4.ts:3394
regressionConfidenceLevelnumberConfidence level (%) of the band around each common-slope line.js-api/src/interfaces/d4.ts:3397
regressionLineColornumber-js-api/src/interfaces/d4.ts:3388
regressionLineTransparencynumber-js-api/src/interfaces/d4.ts:3390
regressionPerCategorybooleanSplits the regression by category. Supports up to 20 categories; otherwise, a common regression line is shown.js-api/src/interfaces/d4.ts:3386
resetSelectionOnBackgroundClickbooleanWhen true, clicking on the background (no point hit) clears the current selection. Set to false to preserve the selection when accidentally clicking outside of the markers.js-api/src/interfaces/d4.ts:3239
rowGroupTooltipstring-js-api/src/interfaces/d4.ts:3306
rowSource"All" | "Filtered" | "Selected" | "SelectedOrCurrent" | "FilteredSelected" | "MouseOverGroup" | "CurrentRow" | "MouseOverRow"Determines the rows shown on the plot.js-api/src/interfaces/d4.ts:3329
rowTooltipstringNewline-separated list of column names to be used in a tooltip. Requires showTooltip to be enabled.js-api/src/interfaces/d4.ts:3301
selectedRowsColornumber-js-api/src/interfaces/d4.ts:3263
showColorSelectorboolean-js-api/src/interfaces/d4.ts:3131
showContextMenubooleanProperties common for all viewers todo: use code generationjs-api/src/interfaces/d4.ts:3345
showCurrentPointbooleanControls the indication of the current rowjs-api/src/interfaces/d4.ts:3224
showDataframeAnnotationRegionsboolean-js-api/src/interfaces/d4.ts:3426
showDataframeFormulaLinesbooleanControl the visibility of dataframe-originated formula lines. Edit formula lines by right-clicking and selecting "ToolsFormula Lines" from the popup menu. Requires the PowerPack plugin.
showDropLinesbooleanShows exact X and Y coordinates for the mouse cursor.js-api/src/interfaces/d4.ts:3245
showFilteredOutPointsbooleanWhen true, filtered out points are rendered using Filtered Out Rows Color.js-api/src/interfaces/d4.ts:3031
showHorizontalGridLinesboolean-js-api/src/interfaces/d4.ts:3076
showLabelNamedColumns"Auto" | "Always" | "Never"Determines whether to show column names next to label values.js-api/src/interfaces/d4.ts:3197
showLabels"Auto" | "Always" | "Never"-js-api/src/interfaces/d4.ts:3291
showLabelsFor"All" | "Filtered" | "Selected" | "SelectedOrCurrent" | "FilteredSelected" | "MouseOverGroup" | "CurrentRow" | "MouseOverRow"Determines the rows shown on the scatter plot.js-api/src/interfaces/d4.ts:3188
showMarkersWithEmptySizebooleanWhen a Size column is set, show rows with empty values instead of hiding them.js-api/src/interfaces/d4.ts:3149
showMeanAbsoluteErrorboolean-js-api/src/interfaces/d4.ts:3380
showMinMaxTickmarksbooleanShows tickmarks and labels for minimum and maximum value on each axis.js-api/src/interfaces/d4.ts:3242
showMouseOverPointbooleanControls the indication of the mouse-over rowjs-api/src/interfaces/d4.ts:3227
showMouseOverRowGroupbooleanHighlight 'mouse-over' rows (such as the ones that fall into a histogram bin that the mouse is currently hovering over).js-api/src/interfaces/d4.ts:3231
showMovingAverageDeviationbooleanShades a ±1 standard deviation band around the line.js-api/src/interfaces/d4.ts:3413
showMovingAverageLinebooleanMoving (rolling) average line visibility.js-api/src/interfaces/d4.ts:3400
showPearsonCorrelationboolean-js-api/src/interfaces/d4.ts:3378
showRegressionLinebooleanRegression line visibility (toggle by pressing R).js-api/src/interfaces/d4.ts:3372
showRegressionLineEquationboolean-js-api/src/interfaces/d4.ts:3374
showRootMeanSquareErrorboolean-js-api/src/interfaces/d4.ts:3382
showSelectedRowsbooleanWhen checked, selected markers are highlighted using the selected rows color. When unchecked, selected markers use their regular color coding.js-api/src/interfaces/d4.ts:3235
showSizeSelectorboolean-js-api/src/interfaces/d4.ts:3146
showSpearmanCorrelationboolean-js-api/src/interfaces/d4.ts:3376
showTitleboolean-js-api/src/interfaces/d4.ts:3349
showTooltipstringControls scatter plot tooltip visibilityjs-api/src/interfaces/d4.ts:3289
showVerticalGridLinesboolean-js-api/src/interfaces/d4.ts:3074
showViewerAnnotationRegionsboolean-js-api/src/interfaces/d4.ts:3424
showViewerFormulaLinesbooleanControl the visibility of viewer-level formula lines. Edit formula lines by right-clicking and selecting "ToolsFormula Lines" from the popup menu. Requires the PowerPack plugin.
showXAxisboolean-js-api/src/interfaces/d4.ts:3078
showXHistogrambooleanShows a distribution histogram along the X axis (at the top)js-api/src/interfaces/d4.ts:3087
showXSelectorboolean-js-api/src/interfaces/d4.ts:3082
showYAxisboolean-js-api/src/interfaces/d4.ts:3080
showYHistogrambooleanShows a distribution histogram along the Y axis (on the right)js-api/src/interfaces/d4.ts:3093
showYSelectorboolean-js-api/src/interfaces/d4.ts:3084
sizestringA numerical column to use for size-coding markers. See also Marker Min Size and Marker Max Size.js-api/src/interfaces/d4.ts:3143
sizeColumnNamestring-js-api/src/interfaces/d4.ts:3144
tablestring-js-api/src/interfaces/d4.ts:3351
titlestring-js-api/src/interfaces/d4.ts:3347
tooltipDelaynumberDelay in milliseconds before showing row tooltipjs-api/src/interfaces/d4.ts:3304
useLabelAsMarkerbooleanIf checked, display a label content as marker.js-api/src/interfaces/d4.ts:3200
viewportstring-js-api/src/interfaces/d4.ts:3286
whiskerColornumber-js-api/src/interfaces/d4.ts:3275
xstringA column to use on the X axis. Could be numerical or categorical.js-api/src/interfaces/d4.ts:3045
xAxisHeightnumberRequires Auto Axis Size to be turned off.js-api/src/interfaces/d4.ts:3313
xAxisLabelOrientationstring-js-api/src/interfaces/d4.ts:3119
xAxisType"linear" | "logarithmic"-js-api/src/interfaces/d4.ts:3058
xColumnNamestring-js-api/src/interfaces/d4.ts:3046
xMapstringTime unit map function for x column (applicable to dates only).js-api/src/interfaces/d4.ts:3049
xMaxnumber-js-api/src/interfaces/d4.ts:3070
xMinnumber-js-api/src/interfaces/d4.ts:3066
xWhiskerMaxstringPoint upper bound for x axis whiskers. Selecting it disables X Whisker Range.js-api/src/interfaces/d4.ts:3100
xWhiskerMaxColumnNamestring-js-api/src/interfaces/d4.ts:3101
xWhiskerMinstringPoint lower bound for x axis whiskers. Selecting it disables X Whisker Range.js-api/src/interfaces/d4.ts:3096
xWhiskerMinColumnNamestring-js-api/src/interfaces/d4.ts:3097
xWhiskerRangestringPoint range for x axis whiskers. Applied only if X Whisker Min and X Whisker Max are not set.js-api/src/interfaces/d4.ts:3104
xWhiskerRangeColumnNamestring-js-api/src/interfaces/d4.ts:3105
ystringA column to use on the Y axis. Could be numerical or categorical.js-api/src/interfaces/d4.ts:3052
yAxisType"linear" | "logarithmic"-js-api/src/interfaces/d4.ts:3060
yAxisWidthnumberRequires Auto Axis Size to be turned off.js-api/src/interfaces/d4.ts:3316
yColumnNamestring-js-api/src/interfaces/d4.ts:3053
yMapstringTime unit map function for y column (applicable to dates only).js-api/src/interfaces/d4.ts:3056
yMaxnumber-js-api/src/interfaces/d4.ts:3072
yMinnumber-js-api/src/interfaces/d4.ts:3068
yWhiskerMaxstringPoint upper bound for y axis whiskers. Selecting it disables Y Whisker Range.js-api/src/interfaces/d4.ts:3112
yWhiskerMaxColumnNamestring-js-api/src/interfaces/d4.ts:3113
yWhiskerMinstringPoint lower bound for y axis whiskers. Selecting it disables Y Whisker Range.js-api/src/interfaces/d4.ts:3108
yWhiskerMinColumnNamestring-js-api/src/interfaces/d4.ts:3109
yWhiskerRangestringPoint range for y axis whiskers. Applied only if Y Whisker Min and Y Whisker Max are not set.js-api/src/interfaces/d4.ts:3116
yWhiskerRangeColumnNamestring-js-api/src/interfaces/d4.ts:3117
zoomAndFilterstringDetermines the relationship between table filter and scatter plot area: No action: they are disconnected Filter by zoom: scatter plot acts as a filter; as you zoom in, points get filtered out Zoom by filter: scatter plot focuses on the filtered points as the filter changes Pack and zoom by filter: removes filtered out categories and focuses on the filtered points as the filter changes.js-api/src/interfaces/d4.ts:3042