seisplotjs

3.1.1

MarginType

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

DEFAULT_TITLE

Type: string

SeismographConfigCache

new SeismographConfigCache()
Instance Members
titleHandlebarsCompiled
xLabelHandlebarsCompiled
xSublabelHandlebarsCompiled
yLabelHandlebarsCompiled
yLabelRightHandlebarsCompiled
ySublabelHandlebarsCompiled

SeismographConfig

Configuration object for Seismograph display.

new SeismographConfig()
Static Members
_lastID
fromJSON(json)
Instance Members
configId
timeFormat
relativeTimeFormat
amplitudeFormat
showTitle
isXAxisTop
_xLabel
xLabelOrientation
_xSublabel
xSublabelIsUnits
isYAxis
isYAxisRight
isYAxisNice
_yLabel
_yLabelRight
yLabelOrientation
_ySublabel
ySublabelTrans
ySublabelIsUnits
doMarkers
markerTextOffset
markerTextAngle
markerFlagpoleBase
minHeight
maxHeight
minWidth
maxWidth
margin
segmentDrawCompressedCutoff
maxZoomPixelPerSample
connectSegments
lineColors
lineWidth
wheelZoom
amplitudeMode
doGain
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?)
clone()
toString()

SeismographConfigJsonType

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

numberFormatWrapper(formater: function (arg0: number): string): function (domainValue: AxisDomain): string
Parameters
formater (function (arg0: number): string)
Returns
function (domainValue: AxisDomain): string

formatCount

formatCount

Type: function (arg0: number): string

formatExp

formatExp

Type: function (arg0: number): string

formatCountOrAmp

formatCountOrAmp
Parameters
v (number)
Returns
string

formatMillisecond

formatMillisecond

Type: function (arg0: Date): string

formatSecond

formatSecond

Type: function (arg0: Date): string

formatMinute

formatMinute

Type: function (arg0: Date): string

formatHour

formatHour

Type: function (arg0: Date): string

formatDay

formatDay

Type: function (arg0: Date): string

formatMonth

formatMonth

Type: function (arg0: Date): string

formatYear

formatYear

Type: function (arg0: Date): string

multiFormatHour

multiFormatHour
Parameters
date (Date)
Returns
string