Namespace specs
Index
Interfaces
- Axis
Scale - Axis
Scales - Background
Image - Discrete
Column - Extents
- Facets
- Field
Op - Global
Scales - Grouping
- Inner
Scope - Insight
- Insight
Columns - Layout
Offsets - Signal
Values - Size
- Size
Signals - Spec
Capabilities - Spec
Color Settings - Spec
Columns - Spec
Context - Spec
Creator - Spec
Language - Spec
Result - Spec
Role Capabilities - Spec
View Options - Title
Source - Titles
- ZAxis
Options
Type aliases
Variables
Functions
Type aliases
Aggregate
AxisSelectionType
Chart
Types of SandDance visualizations.
ColorBin
EncodingRule
FacetStyle
Layout style to use for faceting.
InsightColumnRoles
Orientation
TotalStyle
Layout style to use for summing.
Variables
Const ColorScaleNone
Const FieldNames
Type declaration
-
Active: string
-
Collapsed: string
-
Contains: string
-
Count: string
-
Facet
Search: string -
Facet
Title: string -
First: string
-
Last: string
-
Offset
Height: string -
Offset
Width: string -
OffsetX: string
-
OffsetY: string
-
Ordinal: string
-
PowerBISelection
Id: string -
Selected: string
-
Sum: string
-
Sum
OfCount: string -
Sum
OfSum: string -
Top: string
-
Top
Color: string -
Top
Index: string -
Value: string
-
Wrap
Col: string -
Wrap
Row: string
Const Other
Const ScaleNames
Type declaration
-
Color: string
-
X: string
-
Y: string
-
Z: string
Const SignalNames
Type declaration
-
Color
Bin Count: string -
Color
Reverse: string -
Facet
Axes AdjustX: string -
Facet
Axes AdjustY: string -
Facet
Bins: string -
Facet
Padding Bottom: string -
Facet
Padding Left: string -
Facet
Padding Top: string -
FacetVBins: string
-
Mark
Opacity: string -
Min
Cell Height: string -
Min
Cell Width: string -
Plot
Height In: string -
Plot
Height Out: string -
Plot
Offset Bottom: string -
Plot
Offset Left: string -
Plot
Offset Right: string -
Plot
Offset Top: string -
Plot
Width In: string -
Plot
Width Out: string -
Point
Scale: string -
Text
AngleX: string -
Text
AngleY: string -
Text
Scale: string -
Text
Size: string -
Text
Title Size: string -
Tree
Map Method: string -
Viewport
Height: string -
Viewport
Width: string -
XBins: string
-
YBins: string
-
ZGrounded: string
-
ZHeight: string
-
ZProportion: string
Functions
build
-
Parameters
-
specContext: SpecContext
-
currData: object[]
Returns SpecResult
-
getColumnsFromData
-
Derive column metadata from the data array.
Parameters
-
inferTypesFn: typeof __type
-
data: object[]
Array of data objects.
-
Optional columnTypes: ColumnTypeMap
Returns Column[]
-
getSpecColumns
-
Get columns associated with each Insight role.
Parameters
-
insight: Insight
Insight to specify column roles.
-
columns: Column[]
Array of Columns inferred from the data.
Returns SpecColumns
-
getStats
-
Parameters
-
data: object[] | Float64Array
-
columnName: string | number
-
columnType: TypeInference
-
columnQuantitative: boolean
-
Optional distinctValuesCallback: (distinctValues: string[]) => void
-
-
Parameters
-
distinctValues: string[]
Returns void
-
-
-
Returns ColumnStats
-
-
Parameters
-
data: object[]
-
column: Column
-
Optional distinctValuesCallback: (distinctValues: string[]) => void
-
-
Parameters
-
distinctValues: string[]
Returns void
-
-
-
Returns ColumnStats
-
inferAll
-
Populate columns with type inferences and stats.
Parameters
-
columns: Column[]
Array of columns.
-
data: object[]
Array of data objects.
Returns void
-
Generated using TypeDoc
Type of selection scope on an axis.