Skip to main content

IScatterPlotSettings

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

Properties​

PropertyTypeDescriptionDefined in
allowDynamicMenusboolean-js-api/src/interfaces/d4.ts:706
allowZoomboolean-js-api/src/interfaces/d4.ts:618
annotationFontstring-js-api/src/interfaces/d4.ts:799
annotationRegionsstring-js-api/src/interfaces/d4.ts:793
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:675
autoLayoutboolean-js-api/src/interfaces/d4.ts:620
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:397
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:649
axisFontstring-js-api/src/interfaces/d4.ts:683
axisLineColornumber-js-api/src/interfaces/d4.ts:634
axisTextColornumber-js-api/src/interfaces/d4.ts:636
backColornumber-js-api/src/interfaces/d4.ts:622
categoricalColorSchemenumber[]Applies only to columns with 100+ categories; below that, the column's color coding is used.js-api/src/interfaces/d4.ts:645
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:487
colorAxisType"linear" | "logarithmic"-js-api/src/interfaces/d4.ts:495
colorColumnNamestring-js-api/src/interfaces/d4.ts:488
colorMapstringCategorical coloring time unit map function (applicable to dates only).js-api/src/interfaces/d4.ts:491
colorMaxnumber-js-api/src/interfaces/d4.ts:504
colorMinnumber-js-api/src/interfaces/d4.ts:502
controlsFontstringViewer controls elements font.js-api/src/interfaces/d4.ts:704
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:662
defaultRendererboolean-js-api/src/interfaces/d4.ts:687
descriptionstringViewer description that gets shown at the Descriptor Position. Markup is supported.js-api/src/interfaces/d4.ts:720
descriptionPosition"Left" | "Right" | "Top" | "Bottom"-js-api/src/interfaces/d4.ts:732
descriptionVisibilityMode"Auto" | "Always" | "Never"-js-api/src/interfaces/d4.ts:734
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:559
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:701
filteredOutRowsColornumber-js-api/src/interfaces/d4.ts:626
filteredRowsColornumber-js-api/src/interfaces/d4.ts:624
filterOutInvalidbooleanInvalid are null values and not positive numbers if axis is logarithmic.js-api/src/interfaces/d4.ts:390
formulaFontstring-js-api/src/interfaces/d4.ts:813
formulaLinesstring-js-api/src/interfaces/d4.ts:801
gridLineColornumber-js-api/src/interfaces/d4.ts:638
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:724
histogramBinsnumberNumber of bins for axis histogramsjs-api/src/interfaces/d4.ts:452
initializationFunctionstringNamespace-qualified function that gets executed when a viewer is initializedjs-api/src/interfaces/d4.ts:727
invertColorSchemebooleanReverses the viewer's color scheme and the column's linear color-coding. Does not apply to the column's conditional or categorical color-coding. Affects this viewer only: the grid and other viewers keep their colors.js-api/src/interfaces/d4.ts:500
invertXAxisboolean-js-api/src/interfaces/d4.ts:424
invertYAxisboolean-js-api/src/interfaces/d4.ts:426
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:536
jitterSizeYnumberRandomly shift y marker position up to the Jitter Size Y pixels.js-api/src/interfaces/d4.ts:539
labelAsMarkerSizenumberMarker size in which label is inscribed.js-api/src/interfaces/d4.ts:571
labelColornumber-js-api/src/interfaces/d4.ts:632
labelColorAsMarkerbooleanTo display labels separately or as markers (works for non-text labels).js-api/src/interfaces/d4.ts:568
labelColumnNamesstring[]Label columns to show next to the markers.js-api/src/interfaces/d4.ts:550
labelContentSizenumberLabel inner content size.js-api/src/interfaces/d4.ts:574
labelFontstring-js-api/src/interfaces/d4.ts:685
lassoToolbooleanWhen true, lasso area selector is used instead of the rectangular one. Toggle this option by pressing L.js-api/src/interfaces/d4.ts:616
legendPosition"Auto" | "Left" | "Right" | "Top" | "Bottom" | "RightTop" | "RightBottom" | "LeftTop" | "LeftBottom"-js-api/src/interfaces/d4.ts:691
legendVisibility"Auto" | "Always" | "Never"-js-api/src/interfaces/d4.ts:689
linearColorSchemenumber[]-js-api/src/interfaces/d4.ts:642
linesBystringWhen defined, lines are split into separate series by this categorical column instead of the color column.js-api/src/interfaces/d4.ts:582
linesByColumnNamestring-js-api/src/interfaces/d4.ts:583
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:578
linesOrderColumnNamestring-js-api/src/interfaces/d4.ts:579
linesWidthnumberDefines the width of the lines connecting the markers. See Lines Width.js-api/src/interfaces/d4.ts:586
markerBorderWidthnumber-js-api/src/interfaces/d4.ts:543
markerDefaultSizenumberBy default - automatic sizing based on current dataframejs-api/src/interfaces/d4.ts:529
markerDrawBorderboolean-js-api/src/interfaces/d4.ts:541
markerMaxSizenumber-js-api/src/interfaces/d4.ts:547
markerMinSizenumber-js-api/src/interfaces/d4.ts:545
markerOpacitynumber-js-api/src/interfaces/d4.ts:531
markersstringA categorical column that determines the shape of the markers.js-api/src/interfaces/d4.ts:520
markersColumnNamestring-js-api/src/interfaces/d4.ts:521
markerSizeScaling"linear" | "logarithmic"Linear or logarithmic scale for the Size column.js-api/src/interfaces/d4.ts:517
markersMapstringMarker category time unit map function (applicable to dates only).js-api/src/interfaces/d4.ts:524
markerTypestring-js-api/src/interfaces/d4.ts:526
missingValueColornumber-js-api/src/interfaces/d4.ts:630
mouseDragstring-js-api/src/interfaces/d4.ts:612
movingAverageLineColornumber-js-api/src/interfaces/d4.ts:789
movingAverageLineTransparencynumber-js-api/src/interfaces/d4.ts:791
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:787
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:775
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:781
onInitializedScriptstringJavaScript that gets executed after a viewer is initialized and added to the TableViewjs-api/src/interfaces/d4.ts:730
regressionCommonSlopebooleanGives all category lines the same slope, with a confidence band. Fitted by ANCOVA. Needs numerical X and Y.js-api/src/interfaces/d4.ts:765
regressionConfidenceLevelnumberConfidence level (%) of the band around each common-slope line.js-api/src/interfaces/d4.ts:768
regressionLineColornumber-js-api/src/interfaces/d4.ts:760
regressionLineTransparencynumber-js-api/src/interfaces/d4.ts:762
regressionPerCategorybooleanSplits the regression by category. Supports up to 20 categories; otherwise, a common regression line is shown.js-api/src/interfaces/d4.ts:754
regressionZeroInterceptbooleanForces the line through the origin (y = a·x). r² is then computed against the uncentered total sum of squares (Σy²) and is not comparable with the free-intercept r².js-api/src/interfaces/d4.ts:758
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:604
rowGroupTooltipstring-js-api/src/interfaces/d4.ts:671
rowSource"All" | "Filtered" | "Selected" | "SelectedOrCurrent" | "FilteredSelected" | "MouseOverGroup" | "CurrentRow" | "MouseOverRow"Determines the rows shown on the plot.js-api/src/interfaces/d4.ts:694
rowTooltipstringNewline-separated list of column names to be used in a tooltip. Requires showTooltip to be enabled.js-api/src/interfaces/d4.ts:666
selectedRowsColornumber-js-api/src/interfaces/d4.ts:628
showColorSelectorboolean-js-api/src/interfaces/d4.ts:493
showContextMenubooleanProperties common for all viewers todo: use code generationjs-api/src/interfaces/d4.ts:710
showCurrentPointbooleanControls the indication of the current rowjs-api/src/interfaces/d4.ts:589
showDataframeAnnotationRegionsboolean-js-api/src/interfaces/d4.ts:797
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.
showDeterminationCoefficientbooleanCoefficient of determination (r²) of the fit.js-api/src/interfaces/d4.ts:742
showDropLinesbooleanShows exact X and Y coordinates for the mouse cursor.js-api/src/interfaces/d4.ts:610
showFilteredOutPointsbooleanWhen true, filtered out points are rendered using Filtered Out Rows Color.js-api/src/interfaces/d4.ts:393
showHorizontalGridLinesboolean-js-api/src/interfaces/d4.ts:438
showLabelNamedColumns"Auto" | "Always" | "Never"Determines whether to show column names next to label values.js-api/src/interfaces/d4.ts:562
showLabels"Auto" | "Always" | "Never"-js-api/src/interfaces/d4.ts:656
showLabelsFor"All" | "Filtered" | "Selected" | "SelectedOrCurrent" | "FilteredSelected" | "MouseOverGroup" | "CurrentRow" | "MouseOverRow"Determines the rows shown on the scatter plot.js-api/src/interfaces/d4.ts:553
showMarkersWithEmptySizebooleanWhen a Size column is set, show rows with empty values instead of hiding them.js-api/src/interfaces/d4.ts:514
showMeanAbsoluteErrorboolean-js-api/src/interfaces/d4.ts:748
showMinMaxTickmarksbooleanShows tickmarks and labels for minimum and maximum value on each axis.js-api/src/interfaces/d4.ts:607
showMouseOverPointbooleanControls the indication of the mouse-over rowjs-api/src/interfaces/d4.ts:592
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:596
showMovingAverageDeviationbooleanShades a ±1 standard deviation band around the line.js-api/src/interfaces/d4.ts:784
showMovingAverageLinebooleanMoving (rolling) average line visibility.js-api/src/interfaces/d4.ts:771
showPearsonCorrelationboolean-js-api/src/interfaces/d4.ts:746
showRegressionLinebooleanRegression line visibility (toggle by pressing R).js-api/src/interfaces/d4.ts:737
showRegressionLineEquationboolean-js-api/src/interfaces/d4.ts:739
showRootMeanSquareErrorboolean-js-api/src/interfaces/d4.ts:750
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:600
showSizeSelectorboolean-js-api/src/interfaces/d4.ts:511
showSpearmanCorrelationboolean-js-api/src/interfaces/d4.ts:744
showTitleboolean-js-api/src/interfaces/d4.ts:714
showTooltipstringControls scatter plot tooltip visibilityjs-api/src/interfaces/d4.ts:654
showVerticalGridLinesboolean-js-api/src/interfaces/d4.ts:436
showViewerAnnotationRegionsboolean-js-api/src/interfaces/d4.ts:795
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:440
showXHistogrambooleanShows a distribution histogram along the X axis (at the top)js-api/src/interfaces/d4.ts:449
showXSelectorboolean-js-api/src/interfaces/d4.ts:444
showYAxisboolean-js-api/src/interfaces/d4.ts:442
showYHistogrambooleanShows a distribution histogram along the Y axis (on the right)js-api/src/interfaces/d4.ts:455
showYSelectorboolean-js-api/src/interfaces/d4.ts:446
sizestringA numerical column to use for size-coding markers. See also Marker Min Size and Marker Max Size.js-api/src/interfaces/d4.ts:508
sizeColumnNamestring-js-api/src/interfaces/d4.ts:509
tablestring-js-api/src/interfaces/d4.ts:716
titlestring-js-api/src/interfaces/d4.ts:712
tooltipDelaynumberDelay in milliseconds before showing row tooltipjs-api/src/interfaces/d4.ts:669
useLabelAsMarkerbooleanIf checked, display a label content as marker.js-api/src/interfaces/d4.ts:565
viewportstring-js-api/src/interfaces/d4.ts:651
whiskerColornumber-js-api/src/interfaces/d4.ts:640
xstringA column to use on the X axis. Could be numerical or categorical.js-api/src/interfaces/d4.ts:407
xAxisHeightnumberRequires Auto Axis Size to be turned off.js-api/src/interfaces/d4.ts:678
xAxisLabelOrientationstring-js-api/src/interfaces/d4.ts:481
xAxisType"linear" | "logarithmic"-js-api/src/interfaces/d4.ts:420
xColumnNamestring-js-api/src/interfaces/d4.ts:408
xMapstringTime unit map function for x column (applicable to dates only).js-api/src/interfaces/d4.ts:411
xMaxnumber-js-api/src/interfaces/d4.ts:432
xMinnumber-js-api/src/interfaces/d4.ts:428
xWhiskerMaxstringPoint upper bound for x axis whiskers. Selecting it disables X Whisker Range.js-api/src/interfaces/d4.ts:462
xWhiskerMaxColumnNamestring-js-api/src/interfaces/d4.ts:463
xWhiskerMinstringPoint lower bound for x axis whiskers. Selecting it disables X Whisker Range.js-api/src/interfaces/d4.ts:458
xWhiskerMinColumnNamestring-js-api/src/interfaces/d4.ts:459
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:466
xWhiskerRangeColumnNamestring-js-api/src/interfaces/d4.ts:467
ystringA column to use on the Y axis. Could be numerical or categorical.js-api/src/interfaces/d4.ts:414
yAxisType"linear" | "logarithmic"-js-api/src/interfaces/d4.ts:422
yAxisWidthnumberRequires Auto Axis Size to be turned off.js-api/src/interfaces/d4.ts:681
yColumnNamestring-js-api/src/interfaces/d4.ts:415
yMapstringTime unit map function for y column (applicable to dates only).js-api/src/interfaces/d4.ts:418
yMaxnumber-js-api/src/interfaces/d4.ts:434
yMinnumber-js-api/src/interfaces/d4.ts:430
yWhiskerMaxstringPoint upper bound for y axis whiskers. Selecting it disables Y Whisker Range.js-api/src/interfaces/d4.ts:474
yWhiskerMaxColumnNamestring-js-api/src/interfaces/d4.ts:475
yWhiskerMinstringPoint lower bound for y axis whiskers. Selecting it disables Y Whisker Range.js-api/src/interfaces/d4.ts:470
yWhiskerMinColumnNamestring-js-api/src/interfaces/d4.ts:471
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:478
yWhiskerRangeColumnNamestring-js-api/src/interfaces/d4.ts:479
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:404