seisplotjs

3.1.4
MarginType

Type: {top: number, right: number, bottom: number, left: number, toString: function (): string?}

Properties
top (number)
right (number)
bottom (number)
left (number)
toString (function (): string?)
DEFAULT_TITLE

Type: string

SeismographConfigCache

src/seismographconfig.ts
new SeismographConfigCache()
Instance Members
titleHandlebarsCompiled
xLabelHandlebarsCompiled
xSublabelHandlebarsCompiled
yLabelHandlebarsCompiled
yLabelRightHandlebarsCompiled
ySublabelHandlebarsCompiled

SeismographConfig

src/seismographconfig.ts

Configuration object for Seismograph display.

new SeismographConfig()
Static Members
Instance Members
configId
timeFormat
relativeTimeFormat
amplitudeFormat
showTitle
isXAxisTop
xLabelOrientation
xSublabelIsUnits
xGridLines
isYAxis
isYAxisRight
isYAxisNice
yLabelOrientation
ySublabelTrans
ySublabelIsUnits
yGridLines
doMarkers
markerTextOffset
markerTextAngle
markerFlagpoleBase
minHeight
maxHeight
minWidth
maxWidth
segmentDrawCompressedCutoff
maxZoomPixelPerSample
connectSegments
lineColors
lineWidth
gridLineColor
wheelZoom
amplitudeMode
windowAmp
isRelativeTime
fixedAmplitudeScale
fixedAmplitudeScale
linkedAmplitudeScale
linkedAmplitudeScale
enableLinkedAmplitude()
amplitudeRaw()
amplitudeMinMax()
amplitudeMean()
amplitudeWithZero()
isCenteredAmp()
fixedTimeScale
fixedTimeScale
linkedTimeScale
linkedTimeScale
title
title
handlebarsTitle(context, runtimeOptions)
xLabel
xLabel
xSublabel
xSublabel
handlebarsXLabel(context, runtimeOptions)
handlebarsXSublabel(context, runtimeOptions)
yLabel
yLabel
ySublabel
ySublabel
handlebarsYLabel(context, runtimeOptions)
handlebarsYSublabel(context, runtimeOptions)
yLabelRight
yLabelRight
handlebarsYLabelRight(context, runtimeOptions)
createAlignmentData(timeRange, min, max)
getColorForIndex(i)
createCSSForLineColors(svgClass?)
toString()

SeismographConfigJsonType

src/seismographconfig.ts
SeismographConfigJsonType

Type: {configId: number, showTitle: boolean, title: Array<string>, isXAxis: boolean, isXAxisTop: boolean, xLabel: string, xLabelOrientation: string, xSublabel: string, xSublabelIsUnits: boolean, isYAxis: boolean, isYAxisRight: boolean, isYAxisNice: boolean, yLabel: string, yLabelRight: string, yLabelOrientation: string, ySublabel: string, ySublabelTrans: number, ySublabelIsUnits: boolean, doMarkers: boolean, markerTextOffset: number, markerTextAngle: number, markerFlagpoleBase: string, minHeight: number, maxHeight: (null | number), minWidth: number, maxWidth: (null | number), margin: MarginType, segmentDrawCompressedCutoff: number, maxZoomPixelPerSample: number, connectSegments: boolean, lineColors: Array<string>, lineWidth: number, wheelZoom: boolean, amplitudeMode: AMPLITUDE_MODE, doGain: boolean, windowAmp: boolean, fixedAmplitudeScale: (null | Array<number>), fixedTimeScale: (null | Interval), isLinkedAmplitudeScale: boolean, isLinkedTimeScale: boolean, isRelativeTime: boolean}

Properties
configId (number)
showTitle (boolean)
title (Array<string>)
isXAxis (boolean)
isXAxisTop (boolean)
xLabel (string)
xLabelOrientation (string)
xSublabel (string)
xSublabelIsUnits (boolean)
isYAxis (boolean)
isYAxisRight (boolean)
isYAxisNice (boolean)
yLabel (string)
yLabelRight (string)
yLabelOrientation (string)
ySublabel (string)
ySublabelTrans (number)
ySublabelIsUnits (boolean)
doMarkers (boolean)
markerTextOffset (number)
markerTextAngle (number)
markerFlagpoleBase (string)
minHeight (number)
maxHeight ((null | number))
minWidth (number)
maxWidth ((null | number))
margin (MarginType)
segmentDrawCompressedCutoff (number)
maxZoomPixelPerSample (number)
connectSegments (boolean)
lineColors (Array<string>)
lineWidth (number)
wheelZoom (boolean)
amplitudeMode (AMPLITUDE_MODE)
doGain (boolean)
windowAmp (boolean)
fixedAmplitudeScale ((null | Array<number>))
fixedTimeScale ((null | Interval))
isLinkedAmplitudeScale (boolean)
isLinkedTimeScale (boolean)
isRelativeTime (boolean)

numberFormatWrapper

src/seismographconfig.ts
numberFormatWrapper(formater: function (arg0: number): string): function (domainValue: AxisDomain): string
Parameters
formater (function (arg0: number): string)
Returns
function (domainValue: AxisDomain): string
formatCount

Type: function (arg0: number): string

formatExp

Type: function (arg0: number): string

formatCountOrAmp
Parameters
v (number)
Returns
string

formatMillisecond

src/seismographconfig.ts
formatMillisecond

Type: function (arg0: Date): string

formatSecond

Type: function (arg0: Date): string

formatMinute

Type: function (arg0: Date): string

formatHour

Type: function (arg0: Date): string

formatDay

Type: function (arg0: Date): string

formatMonth

Type: function (arg0: Date): string

formatYear

Type: function (arg0: Date): string

multiFormatHour
Parameters
date (Date)
Returns
string