createMarkersForTravelTimes

dist/seismograph.mjs
createMarkersForTravelTimes

createMarkerForOriginTime

dist/seismograph.mjs
createMarkerForOriginTime

createFullMarkersForQuakeAtStation

dist/seismograph.mjs
createFullMarkersForQuakeAtStation

createFullMarkersForQuakeAtChannel

dist/seismograph.mjs
createFullMarkersForQuakeAtChannel

createMarkerForQuakePicks

dist/seismograph.mjs
createMarkerForQuakePicks

createMarkerForPicks

dist/seismograph.mjs
createMarkerForPicks

SEIS_CLICK_EVENT

dist/seismograph.mjs
SEIS_CLICK_EVENT

Type: string

SEIS_MOVE_EVENT

dist/seismograph.mjs
SEIS_MOVE_EVENT

Type: string

SEISMOGRAPH_ELEMENT

dist/seismograph.mjs
SEISMOGRAPH_ELEMENT

Type: string

seismograph_css

dist/seismograph.mjs
seismograph_css
COLOR_CSS_ID

Type: string

SEISMOGRAPH_CSS_ID

dist/seismograph.mjs
SEISMOGRAPH_CSS_ID

Type: string

new Seismograph(seisData: any, seisConfig: any)

Extends SeisPlotElement

Parameters
seisData (any)
seisConfig (any)
Instance Members
▸ seismographConfig
▸ seismographConfig
▸ connectedCallback()
▸ disconnectedCallback()
▸ attributeChangedCallback(_name, _oldValue, _newValue)
▸ checkResize()
▸ printSizes()
▸ calcDetailForEvent(evt, _type)
▸ isVisible()
▸ drawSeismograms()
▸ calcScaleAndZoom()
▸ ampScaleForSeisDisplayData(sdd)
▸ displayTimeRangeForSeisDisplayData(sdd)
▸ timeScaleForSeisDisplayData(sdd, scaleForResolution)
▸ drawAxis()
▸ ampScaleForAxis()
▸ timeScaleForAxis()
▸ drawTopBottomAxis()
▸ drawLeftRightAxis()
▸ createLeftRightAxis()
▸ rescaleYAxis()
▸ createHandlebarsInput()
▸ drawAxisLabels()
▸ resetZoom()
▸ redrawWithXScale()
▸ drawMarkers()
▸ calcWidthHeight(nOuterWidth, nOuterHeight)
▸ drawTitle()
▸ drawXLabel()
▸ drawXSublabel()
▸ drawYLabel()
▸ drawYSublabel()
▸ calcTimeScaleDomain()
▸ calcAmpScaleDomain()
▸ recheckAmpScaleDomain()
▸ redoDisplayYScale()
▸ createUnitsLabel()
▸ getSeismogramData()
▸ seisDataUpdated()
▸ getDisplayDataForSeismogram(seis)
▸ removeSeisData(seisData)
▸ trim(timeRange)

SeismographAmplitudeScalable

dist/seismograph.mjs
new SeismographAmplitudeScalable(graph: any)

Extends AmplitudeScalable

Parameters
graph (any)
Instance Members
▸ notifyAmplitudeChange(middle, halfWidth)
ZERO_DURATION

SeismographTimeScalable

dist/seismograph.mjs
new SeismographTimeScalable(graph: any, alignmentTimeOffset: any, duration: any)

Extends TimeScalable

Parameters
graph (any)
alignmentTimeOffset (any)
duration (any)
Instance Members
▸ notifyTimeRangeChange(offset, duration)

createNumberFormatWrapper

dist/seismograph.mjs

Creates a wrapper for d3 formatter for numbers for axis that keeps typescript happy.

createNumberFormatWrapper(formatter: any): any
Parameters
formatter (any) simple formatter
Returns
any: function that converts input types

createDateFormatWrapper

dist/seismograph.mjs

Creates a wrapper for d3 formatter for Dates for axis that keeps typescript happy.

createDateFormatWrapper(formatter: any): any
Parameters
formatter (any) simple formatter
Returns
any: function that converts input types