seisplotjs

3.2.0
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
xAxisTimeZone
isXAxisTop
xLabelOrientation
xSublabelIsUnits
xGridLines
isYAxis
isYAxisRight
isYAxisNice
yAxisNumTickHint
yLabelOrientation
ySublabelTrans
ySublabelIsUnits
yGridLines
doMarkers
markerTextOffset
markerTextAngle
markerFlagpoleBase
minHeight
maxHeight
minWidth
maxWidth
segmentDrawCompressedCutoff
maxZoomPixelPerSample
connectSegments
lineColors
lineWidth
gridLineColor
allowZoom
wheelZoom
amplitudeMode
windowAmp
resolutionScale
isRelativeTime
fixedAmplitudeScale
fixedAmplitudeScale
linkedAmplitudeScale
linkedAmplitudeScale
enableLinkedAmplitude()
amplitudeRaw()
amplitudeMinMax()
amplitudeMean()
amplitudeWithZero()
isCenteredAmp()
fixedTimeScale
fixedTimeScale
linkedTimeScale
linkedTimeScale
enableXAxisTimeZone(zone)
timeFormat
timeFormat
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, xAxisTimeZone: string, 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)
xAxisTimeZone (string)
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

createTimeFormatterForZone

src/seismographconfig.ts
createTimeFormatterForZone(timezone: Zone): function (arg0: Date): string
Parameters
timezone (Zone)
Returns
function (arg0: Date): string