MarginType

Type: {top: number, right: number, bottom: number, left: number}

Properties
top (number)
right (number)
bottom (number)
left (number)

Constant for drawing seismogram using svg.

DRAW_SVG

Type: string

Constant for drawing seismogram using canvas, axies are still svg.

DRAW_CANVAS

Type: string

Constant for drawing seismogram using both canvas and svg, for testing.

DRAW_BOTH

Type: string

Constant for drawing seismogram using both canvas and svg plus alignment markers, for testing.

DRAW_BOTH_ALIGN

Type: string

SeismographConfig

src/seismographconfig.js
new SeismographConfig()
Instance Members
drawingType
xScaleFormat
yScaleFormat
isXAxis
xLabelOrientation
xSublabel
isYAxis
yLabelOrientation
ySublabel
ySublabelTrans
ySublabelIsUnits
doMarkers
markerTextOffset
markerTextAngle
markerFlagpoleBase
minHeight
maxHeight
segmentDrawCompressedCutoff
maxZoomPixelPerSample
connectSegments
lineColors
lineWidth
wheelZoom
doRMean
windowAmp
fixedYScale
fixedTimeScale
title
getColorForIndex(i)

formatMillisecond

src/seismographconfig.js
formatMillisecond
formatSecond
formatMinute
formatHour
formatDay
formatMonth
formatYear
multiFormatHour
Parameters
date (Date)
Returns
string