Search
Preparing search index...
The search index is not available
Swim Toolkit
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Swim Toolkit
@swim/chart
PlotComponentObserver
Interface PlotComponentObserver<X, Y, C>
Type parameters
X
Y
C
:
PlotComponent
<
X
,
Y
>
=
PlotComponent
<
X
,
Y
>
Hierarchy
DataSetComponentObserver
<
X
,
Y
,
C
>
PlotComponentObserver
ScatterPlotComponentObserver
SeriesPlotComponentObserver
Index
Methods
component
Did
Assemble
component
Did
Compute
component
Did
Generate
component
Did
Insert
Child
Component
component
Did
Mount
component
Did
Power
component
Did
Remove
Child
Component
component
Did
Resolve
component
Did
Revise
component
Did
Set
Data
Point
component
Did
Set
Data
Point
Color
component
Did
Set
Data
Point
Label
View
component
Did
Set
Data
Point
Opacity
component
Did
Set
Data
Point
Radius
component
Did
Set
Data
Point
Trait
component
Did
Set
Data
Point
View
component
Did
Set
Data
PointX
component
Did
Set
Data
PointY
component
Did
Set
Data
Point
Y2
component
Did
Set
Data
Set
Trait
component
Did
Set
Parent
Component
component
Did
Set
Plot
Trait
component
Did
Set
Plot
View
component
Did
Unmount
component
Did
Unpower
component
Will
Assemble
component
Will
Compute
component
Will
Generate
component
Will
Insert
Child
Component
component
Will
Mount
component
Will
Power
component
Will
Remove
Child
Component
component
Will
Resolve
component
Will
Revise
component
Will
Set
Data
Point
component
Will
Set
Data
Point
Color
component
Will
Set
Data
Point
Label
View
component
Will
Set
Data
Point
Opacity
component
Will
Set
Data
Point
Radius
component
Will
Set
Data
Point
Trait
component
Will
Set
Data
Point
View
component
Will
Set
Data
PointX
component
Will
Set
Data
PointY
component
Will
Set
Data
Point
Y2
component
Will
Set
Data
Set
Trait
component
Will
Set
Parent
Component
component
Will
Set
Plot
Trait
component
Will
Set
Plot
View
component
Will
Unmount
component
Will
Unpower
Methods
Optional
component
Did
Assemble
component
Did
Assemble
(
componentContext
:
ComponentContextType
<
C
>
, component
:
C
)
:
void
Parameters
componentContext:
ComponentContextType
<
C
>
component:
C
Returns
void
Optional
component
Did
Compute
component
Did
Compute
(
componentContext
:
ComponentContextType
<
C
>
, component
:
C
)
:
void
Parameters
componentContext:
ComponentContextType
<
C
>
component:
C
Returns
void
Optional
component
Did
Generate
component
Did
Generate
(
componentContext
:
ComponentContextType
<
C
>
, component
:
C
)
:
void
Parameters
componentContext:
ComponentContextType
<
C
>
component:
C
Returns
void
Optional
component
Did
Insert
Child
Component
component
Did
Insert
Child
Component
(
childComponent
:
Component
, targetModel
:
null
|
Component
, component
:
C
)
:
void
Parameters
childComponent:
Component
targetModel:
null
|
Component
component:
C
Returns
void
Optional
component
Did
Mount
component
Did
Mount
(
component
:
Component
)
:
void
Parameters
component:
Component
Returns
void
Optional
component
Did
Power
component
Did
Power
(
component
:
Component
)
:
void
Parameters
component:
Component
Returns
void
Optional
component
Did
Remove
Child
Component
component
Did
Remove
Child
Component
(
childComponent
:
Component
, component
:
C
)
:
void
Parameters
childComponent:
Component
component:
C
Returns
void
Optional
component
Did
Resolve
component
Did
Resolve
(
componentContext
:
ComponentContextType
<
C
>
, component
:
C
)
:
void
Parameters
componentContext:
ComponentContextType
<
C
>
component:
C
Returns
void
Optional
component
Did
Revise
component
Did
Revise
(
componentContext
:
ComponentContextType
<
C
>
, component
:
C
)
:
void
Parameters
componentContext:
ComponentContextType
<
C
>
component:
C
Returns
void
Optional
component
Did
Set
Data
Point
component
Did
Set
Data
Point
(
newDataPointComponent
:
null
|
DataPointComponent
<
X
,
Y
>
, oldDataPointComponent
:
null
|
DataPointComponent
<
X
,
Y
>
, dataPointDastener
:
ComponentFastener
<
C
,
DataPointComponent
<
X
,
Y
>
,
never
>
)
:
void
Parameters
newDataPointComponent:
null
|
DataPointComponent
<
X
,
Y
>
oldDataPointComponent:
null
|
DataPointComponent
<
X
,
Y
>
dataPointDastener:
ComponentFastener
<
C
,
DataPointComponent
<
X
,
Y
>
,
never
>
Returns
void
Optional
component
Did
Set
Data
Point
Color
component
Did
Set
Data
Point
Color
(
newColor
:
null
|
Color
, oldColor
:
null
|
Color
, dataPointFastener
:
ComponentFastener
<
C
,
DataPointComponent
<
X
,
Y
>
,
never
>
)
:
void
Parameters
newColor:
null
|
Color
oldColor:
null
|
Color
dataPointFastener:
ComponentFastener
<
C
,
DataPointComponent
<
X
,
Y
>
,
never
>
Returns
void
Optional
component
Did
Set
Data
Point
Label
View
component
Did
Set
Data
Point
Label
View
(
newLabelView
:
null
|
GraphicsView
, oldLabelView
:
null
|
GraphicsView
, dataPointFastener
:
ComponentFastener
<
C
,
DataPointComponent
<
X
,
Y
>
,
never
>
)
:
void
Parameters
newLabelView:
null
|
GraphicsView
oldLabelView:
null
|
GraphicsView
dataPointFastener:
ComponentFastener
<
C
,
DataPointComponent
<
X
,
Y
>
,
never
>
Returns
void
Optional
component
Did
Set
Data
Point
Opacity
component
Did
Set
Data
Point
Opacity
(
newOpacity
:
undefined
|
number
, oldOpacity
:
undefined
|
number
, dataPointFastener
:
ComponentFastener
<
C
,
DataPointComponent
<
X
,
Y
>
,
never
>
)
:
void
Parameters
newOpacity:
undefined
|
number
oldOpacity:
undefined
|
number
dataPointFastener:
ComponentFastener
<
C
,
DataPointComponent
<
X
,
Y
>
,
never
>
Returns
void
Optional
component
Did
Set
Data
Point
Radius
component
Did
Set
Data
Point
Radius
(
newRadius
:
null
|
Length
, oldRadius
:
null
|
Length
, dataPointFastener
:
ComponentFastener
<
C
,
DataPointComponent
<
X
,
Y
>
,
never
>
)
:
void
Parameters
newRadius:
null
|
Length
oldRadius:
null
|
Length
dataPointFastener:
ComponentFastener
<
C
,
DataPointComponent
<
X
,
Y
>
,
never
>
Returns
void
Optional
component
Did
Set
Data
Point
Trait
component
Did
Set
Data
Point
Trait
(
newDataPointTrait
:
null
|
DataPointTrait
<
X
,
Y
>
, oldDataPointTrait
:
null
|
DataPointTrait
<
X
,
Y
>
, dataPointFastener
:
ComponentFastener
<
C
,
DataPointComponent
<
X
,
Y
>
,
never
>
)
:
void
Parameters
newDataPointTrait:
null
|
DataPointTrait
<
X
,
Y
>
oldDataPointTrait:
null
|
DataPointTrait
<
X
,
Y
>
dataPointFastener:
ComponentFastener
<
C
,
DataPointComponent
<
X
,
Y
>
,
never
>
Returns
void
Optional
component
Did
Set
Data
Point
View
component
Did
Set
Data
Point
View
(
newDataPointView
:
null
|
DataPointView
<
X
,
Y
>
, oldDataPointView
:
null
|
DataPointView
<
X
,
Y
>
, dataPointFastener
:
ComponentFastener
<
C
,
DataPointComponent
<
X
,
Y
>
,
never
>
)
:
void
Parameters
newDataPointView:
null
|
DataPointView
<
X
,
Y
>
oldDataPointView:
null
|
DataPointView
<
X
,
Y
>
dataPointFastener:
ComponentFastener
<
C
,
DataPointComponent
<
X
,
Y
>
,
never
>
Returns
void
Optional
component
Did
Set
Data
PointX
component
Did
Set
Data
PointX
(
newX
:
undefined
|
X
, oldX
:
undefined
|
X
, dataPointFastener
:
ComponentFastener
<
C
,
DataPointComponent
<
X
,
Y
>
,
never
>
)
:
void
Parameters
newX:
undefined
|
X
oldX:
undefined
|
X
dataPointFastener:
ComponentFastener
<
C
,
DataPointComponent
<
X
,
Y
>
,
never
>
Returns
void
Optional
component
Did
Set
Data
PointY
component
Did
Set
Data
PointY
(
newY
:
undefined
|
Y
, oldY
:
undefined
|
Y
, dataPointFastener
:
ComponentFastener
<
C
,
DataPointComponent
<
X
,
Y
>
,
never
>
)
:
void
Parameters
newY:
undefined
|
Y
oldY:
undefined
|
Y
dataPointFastener:
ComponentFastener
<
C
,
DataPointComponent
<
X
,
Y
>
,
never
>
Returns
void
Optional
component
Did
Set
Data
Point
Y2
component
Did
Set
Data
Point
Y2
(
newY2
:
undefined
|
Y
, oldY2
:
undefined
|
Y
, dataPointFastener
:
ComponentFastener
<
C
,
DataPointComponent
<
X
,
Y
>
,
never
>
)
:
void
Parameters
newY2:
undefined
|
Y
oldY2:
undefined
|
Y
dataPointFastener:
ComponentFastener
<
C
,
DataPointComponent
<
X
,
Y
>
,
never
>
Returns
void
Optional
component
Did
Set
Data
Set
Trait
component
Did
Set
Data
Set
Trait
(
newDataSetTrait
:
null
|
DataSetTrait
<
X
,
Y
>
, oldDataSetTrait
:
null
|
DataSetTrait
<
X
,
Y
>
, component
:
C
)
:
void
Parameters
newDataSetTrait:
null
|
DataSetTrait
<
X
,
Y
>
oldDataSetTrait:
null
|
DataSetTrait
<
X
,
Y
>
component:
C
Returns
void
Optional
component
Did
Set
Parent
Component
component
Did
Set
Parent
Component
(
newParentComponent
:
null
|
Component
, oldParentComponent
:
null
|
Component
, component
:
C
)
:
void
Parameters
newParentComponent:
null
|
Component
oldParentComponent:
null
|
Component
component:
C
Returns
void
Optional
component
Did
Set
Plot
Trait
component
Did
Set
Plot
Trait
(
newPlotTrait
:
null
|
PlotTrait
<
X
,
Y
>
, oldPlotTrait
:
null
|
PlotTrait
<
X
,
Y
>
, component
:
C
)
:
void
Parameters
newPlotTrait:
null
|
PlotTrait
<
X
,
Y
>
oldPlotTrait:
null
|
PlotTrait
<
X
,
Y
>
component:
C
Returns
void
Optional
component
Did
Set
Plot
View
component
Did
Set
Plot
View
(
newPlotView
:
null
|
PlotView
<
X
,
Y
>
, oldPlotView
:
null
|
PlotView
<
X
,
Y
>
, component
:
C
)
:
void
Parameters
newPlotView:
null
|
PlotView
<
X
,
Y
>
oldPlotView:
null
|
PlotView
<
X
,
Y
>
component:
C
Returns
void
Optional
component
Did
Unmount
component
Did
Unmount
(
component
:
Component
)
:
void
Parameters
component:
Component
Returns
void
Optional
component
Did
Unpower
component
Did
Unpower
(
component
:
Component
)
:
void
Parameters
component:
Component
Returns
void
Optional
component
Will
Assemble
component
Will
Assemble
(
componentContext
:
ComponentContextType
<
C
>
, component
:
C
)
:
void
Parameters
componentContext:
ComponentContextType
<
C
>
component:
C
Returns
void
Optional
component
Will
Compute
component
Will
Compute
(
componentContext
:
ComponentContextType
<
C
>
, component
:
C
)
:
void
Parameters
componentContext:
ComponentContextType
<
C
>
component:
C
Returns
void
Optional
component
Will
Generate
component
Will
Generate
(
componentContext
:
ComponentContextType
<
C
>
, component
:
C
)
:
void
Parameters
componentContext:
ComponentContextType
<
C
>
component:
C
Returns
void
Optional
component
Will
Insert
Child
Component
component
Will
Insert
Child
Component
(
childComponent
:
Component
, targetModel
:
null
|
Component
, component
:
C
)
:
void
Parameters
childComponent:
Component
targetModel:
null
|
Component
component:
C
Returns
void
Optional
component
Will
Mount
component
Will
Mount
(
component
:
Component
)
:
void
Parameters
component:
Component
Returns
void
Optional
component
Will
Power
component
Will
Power
(
component
:
Component
)
:
void
Parameters
component:
Component
Returns
void
Optional
component
Will
Remove
Child
Component
component
Will
Remove
Child
Component
(
childComponent
:
Component
, component
:
C
)
:
void
Parameters
childComponent:
Component
component:
C
Returns
void
Optional
component
Will
Resolve
component
Will
Resolve
(
componentContext
:
ComponentContextType
<
C
>
, component
:
C
)
:
void
Parameters
componentContext:
ComponentContextType
<
C
>
component:
C
Returns
void
Optional
component
Will
Revise
component
Will
Revise
(
componentContext
:
ComponentContextType
<
C
>
, component
:
C
)
:
void
Parameters
componentContext:
ComponentContextType
<
C
>
component:
C
Returns
void
Optional
component
Will
Set
Data
Point
component
Will
Set
Data
Point
(
newDataPointComponent
:
null
|
DataPointComponent
<
X
,
Y
>
, oldDataPointComponent
:
null
|
DataPointComponent
<
X
,
Y
>
, dataPointDastener
:
ComponentFastener
<
C
,
DataPointComponent
<
X
,
Y
>
,
never
>
)
:
void
Parameters
newDataPointComponent:
null
|
DataPointComponent
<
X
,
Y
>
oldDataPointComponent:
null
|
DataPointComponent
<
X
,
Y
>
dataPointDastener:
ComponentFastener
<
C
,
DataPointComponent
<
X
,
Y
>
,
never
>
Returns
void
Optional
component
Will
Set
Data
Point
Color
component
Will
Set
Data
Point
Color
(
newColor
:
null
|
Color
, oldColor
:
null
|
Color
, dataPointFastener
:
ComponentFastener
<
C
,
DataPointComponent
<
X
,
Y
>
,
never
>
)
:
void
Parameters
newColor:
null
|
Color
oldColor:
null
|
Color
dataPointFastener:
ComponentFastener
<
C
,
DataPointComponent
<
X
,
Y
>
,
never
>
Returns
void
Optional
component
Will
Set
Data
Point
Label
View
component
Will
Set
Data
Point
Label
View
(
newLabelView
:
null
|
GraphicsView
, oldLabelView
:
null
|
GraphicsView
, dataPointFastener
:
ComponentFastener
<
C
,
DataPointComponent
<
X
,
Y
>
,
never
>
)
:
void
Parameters
newLabelView:
null
|
GraphicsView
oldLabelView:
null
|
GraphicsView
dataPointFastener:
ComponentFastener
<
C
,
DataPointComponent
<
X
,
Y
>
,
never
>
Returns
void
Optional
component
Will
Set
Data
Point
Opacity
component
Will
Set
Data
Point
Opacity
(
newOpacity
:
undefined
|
number
, oldOpacity
:
undefined
|
number
, dataPointFastener
:
ComponentFastener
<
C
,
DataPointComponent
<
X
,
Y
>
,
never
>
)
:
void
Parameters
newOpacity:
undefined
|
number
oldOpacity:
undefined
|
number
dataPointFastener:
ComponentFastener
<
C
,
DataPointComponent
<
X
,
Y
>
,
never
>
Returns
void
Optional
component
Will
Set
Data
Point
Radius
component
Will
Set
Data
Point
Radius
(
newRadius
:
null
|
Length
, oldRadius
:
null
|
Length
, dataPointFastener
:
ComponentFastener
<
C
,
DataPointComponent
<
X
,
Y
>
,
never
>
)
:
void
Parameters
newRadius:
null
|
Length
oldRadius:
null
|
Length
dataPointFastener:
ComponentFastener
<
C
,
DataPointComponent
<
X
,
Y
>
,
never
>
Returns
void
Optional
component
Will
Set
Data
Point
Trait
component
Will
Set
Data
Point
Trait
(
newDataPointTrait
:
null
|
DataPointTrait
<
X
,
Y
>
, oldDataPointTrait
:
null
|
DataPointTrait
<
X
,
Y
>
, dataPointFastener
:
ComponentFastener
<
C
,
DataPointComponent
<
X
,
Y
>
,
never
>
)
:
void
Parameters
newDataPointTrait:
null
|
DataPointTrait
<
X
,
Y
>
oldDataPointTrait:
null
|
DataPointTrait
<
X
,
Y
>
dataPointFastener:
ComponentFastener
<
C
,
DataPointComponent
<
X
,
Y
>
,
never
>
Returns
void
Optional
component
Will
Set
Data
Point
View
component
Will
Set
Data
Point
View
(
newDataPointView
:
null
|
DataPointView
<
X
,
Y
>
, oldDataPointView
:
null
|
DataPointView
<
X
,
Y
>
, dataPointFastener
:
ComponentFastener
<
C
,
DataPointComponent
<
X
,
Y
>
,
never
>
)
:
void
Parameters
newDataPointView:
null
|
DataPointView
<
X
,
Y
>
oldDataPointView:
null
|
DataPointView
<
X
,
Y
>
dataPointFastener:
ComponentFastener
<
C
,
DataPointComponent
<
X
,
Y
>
,
never
>
Returns
void
Optional
component
Will
Set
Data
PointX
component
Will
Set
Data
PointX
(
newX
:
undefined
|
X
, oldX
:
undefined
|
X
, dataPointFastener
:
ComponentFastener
<
C
,
DataPointComponent
<
X
,
Y
>
,
never
>
)
:
void
Parameters
newX:
undefined
|
X
oldX:
undefined
|
X
dataPointFastener:
ComponentFastener
<
C
,
DataPointComponent
<
X
,
Y
>
,
never
>
Returns
void
Optional
component
Will
Set
Data
PointY
component
Will
Set
Data
PointY
(
newY
:
undefined
|
Y
, oldY
:
undefined
|
Y
, dataPointFastener
:
ComponentFastener
<
C
,
DataPointComponent
<
X
,
Y
>
,
never
>
)
:
void
Parameters
newY:
undefined
|
Y
oldY:
undefined
|
Y
dataPointFastener:
ComponentFastener
<
C
,
DataPointComponent
<
X
,
Y
>
,
never
>
Returns
void
Optional
component
Will
Set
Data
Point
Y2
component
Will
Set
Data
Point
Y2
(
newY2
:
undefined
|
Y
, oldY2
:
undefined
|
Y
, dataPointFastener
:
ComponentFastener
<
C
,
DataPointComponent
<
X
,
Y
>
,
never
>
)
:
void
Parameters
newY2:
undefined
|
Y
oldY2:
undefined
|
Y
dataPointFastener:
ComponentFastener
<
C
,
DataPointComponent
<
X
,
Y
>
,
never
>
Returns
void
Optional
component
Will
Set
Data
Set
Trait
component
Will
Set
Data
Set
Trait
(
newDataSetTrait
:
null
|
DataSetTrait
<
X
,
Y
>
, oldDataSetTrait
:
null
|
DataSetTrait
<
X
,
Y
>
, component
:
C
)
:
void
Parameters
newDataSetTrait:
null
|
DataSetTrait
<
X
,
Y
>
oldDataSetTrait:
null
|
DataSetTrait
<
X
,
Y
>
component:
C
Returns
void
Optional
component
Will
Set
Parent
Component
component
Will
Set
Parent
Component
(
newParentComponent
:
null
|
Component
, oldParentComponent
:
null
|
Component
, component
:
C
)
:
void
Parameters
newParentComponent:
null
|
Component
oldParentComponent:
null
|
Component
component:
C
Returns
void
Optional
component
Will
Set
Plot
Trait
component
Will
Set
Plot
Trait
(
newPlotTrait
:
null
|
PlotTrait
<
X
,
Y
>
, oldPlotTrait
:
null
|
PlotTrait
<
X
,
Y
>
, component
:
C
)
:
void
Parameters
newPlotTrait:
null
|
PlotTrait
<
X
,
Y
>
oldPlotTrait:
null
|
PlotTrait
<
X
,
Y
>
component:
C
Returns
void
Optional
component
Will
Set
Plot
View
component
Will
Set
Plot
View
(
newPlotView
:
null
|
PlotView
<
X
,
Y
>
, oldPlotView
:
null
|
PlotView
<
X
,
Y
>
, component
:
C
)
:
void
Parameters
newPlotView:
null
|
PlotView
<
X
,
Y
>
oldPlotView:
null
|
PlotView
<
X
,
Y
>
component:
C
Returns
void
Optional
component
Will
Unmount
component
Will
Unmount
(
component
:
Component
)
:
void
Parameters
component:
Component
Returns
void
Optional
component
Will
Unpower
component
Will
Unpower
(
component
:
Component
)
:
void
Parameters
component:
Component
Returns
void
Modules
@swim/system
@swim/toolkit
@swim/ui
@swim/ux
@swim/vis
@swim/gauge
@swim/pie
@swim/chart
@swim/maps
Plot
Component
Observer
component
Did
Assemble
component
Did
Compute
component
Did
Generate
component
Did
Insert
Child
Component
component
Did
Mount
component
Did
Power
component
Did
Remove
Child
Component
component
Did
Resolve
component
Did
Revise
component
Did
Set
Data
Point
component
Did
Set
Data
Point
Color
component
Did
Set
Data
Point
Label
View
component
Did
Set
Data
Point
Opacity
component
Did
Set
Data
Point
Radius
component
Did
Set
Data
Point
Trait
component
Did
Set
Data
Point
View
component
Did
Set
Data
PointX
component
Did
Set
Data
PointY
component
Did
Set
Data
Point
Y2
component
Did
Set
Data
Set
Trait
component
Did
Set
Parent
Component
component
Did
Set
Plot
Trait
component
Did
Set
Plot
View
component
Did
Unmount
component
Did
Unpower
component
Will
Assemble
component
Will
Compute
component
Will
Generate
component
Will
Insert
Child
Component
component
Will
Mount
component
Will
Power
component
Will
Remove
Child
Component
component
Will
Resolve
component
Will
Revise
component
Will
Set
Data
Point
component
Will
Set
Data
Point
Color
component
Will
Set
Data
Point
Label
View
component
Will
Set
Data
Point
Opacity
component
Will
Set
Data
Point
Radius
component
Will
Set
Data
Point
Trait
component
Will
Set
Data
Point
View
component
Will
Set
Data
PointX
component
Will
Set
Data
PointY
component
Will
Set
Data
Point
Y2
component
Will
Set
Data
Set
Trait
component
Will
Set
Parent
Component
component
Will
Set
Plot
Trait
component
Will
Set
Plot
View
component
Will
Unmount
component
Will
Unpower
Generated using
TypeDoc