3.1.4
Type: {height: number, width: number}
Type: {marker: MarkerType, sdd: SeismogramDisplayData, xscale: axisutil.LuxonTimeScale, bbox: BBoxType?}
Type: string
Type: string
Extends SeisPlotElement
((SeismogramDisplayData | Array<SeismogramDisplayData>)?)
(SeismographConfig?)
Type: Selection<SVGSVGElement, any, null, undefined>
Type: (null | Selection<SVGForeignObjectElement, any, null, undefined>)
Type: (null | Selection<HTMLCanvasElement, any, null, undefined>)
Type: Selection<SVGGElement, any, null, undefined>
Type: (ReturnType<any> | null)
Type: (ReturnType<any> | null)
Type: SeismographTimeScalable
Type: ResizeObserver
Type: SeismographConfig
(SeismographConfig)
void
void
void
(MouseEvent)
(string?)
SeisMouseEventType
void
void
(SeismogramDisplayData)
Interval
((SeismogramDisplayData | Interval)?)
axisutil.LuxonTimeScale
Draws the top, bottom, (time) axis and the left and right (amplitude) axis if configured.
void
Draws the left and right (amplitude) axis if configured.
void
Draws the left and right (amplitude) axis if configured.
void
void
HandlebarsInput
void
void
(any)
void
void
void
Update the duration if not already set. This only matters for linedTimeScale currently.
void
Calculate the amplitude range over the current time range, depending on amplitude style.
MinMaxable
:
min max over the time range
void
void
Notification to the element that something about the current seismogram data has changed. This could be that the actual waveform data has been updated or that auxillary data like quake or channel has been added. This should trigger a redraw.
Finds the SeismogramDisplayData within the display containing the given Seismogram.
(Seismogram)
seismogram to search for
(SeismogramDisplayData | null)
:
SeismogramDisplayData if found or null if not
Removes a seismogram from the display.
(SeismogramDisplayData)
seis data to remove
void
Removes seismograms that do not overlap the window.
(Interval)
overlap data to keep
void
Extends AmplitudeScalable
(Seismograph)
Extends TimeScalable
Type: Seismograph
Type: Duration
Type: Duration
(Duration)
(Duration)
Creates a wrapper for d3 formatter for numbers for axis that keeps typescript happy.
function (nValue: d3NumberValue): string
:
function that converts input types
Creates a wrapper for d3 formatter for Dates for axis that keeps typescript happy.
function (nValue: (Date | d3NumberValue), index: number): string
:
function that converts input types
Type: {mouseevent: MouseEvent, time: (DateTime | null), relative_time: (Duration | null), amplitude: number, seismograph: Seismograph}
(MouseEvent)
((DateTime | null))
((Duration | null))
(number)
(Seismograph)