3.2.0Type: {top: number, right: number, bottom: number, left: number, toString: function (): string?}
Type: string
Configuration object for Seismograph display.
(SeismographConfigJsonType)
SeismographConfig
hint for number of ticks to show on y axis. Note this is not exact as trying to put ticks on "even" numbers may result in slightly more or less.
Type: number
Type: MarginType
Type: AMPLITUDE_MODE
SeismographConfigJsonType
Type: (null | LinkedAmplitudeScale)
(null | LinkedAmplitudeScale)
Type: (null | LinkedAmplitudeScale)
((null | LinkedAmplitudeScale))
Enable linked amplitude scales across seismographs.
Set Raw amplitude mode, plot absolute and goes from minimun to maximum of data
Set MinMax amplitude mode, plot is relative and centered on (minimun + maximum)/2
Set Mean amplitude mode, plot is relative and centered on mean of data
Set WithZero amplitude mode, plot is absolute and centered on mean of data like Raw, but also includes zero even if all data is positive. Useful when showing data compared to zero is helpful.
True if the amplitude is "centered".
Both MinMax and Mean center the amplitude, Raw and Zero do not.
any:
if centered
Type: (null | Interval)
(null | Interval)
Type: (null | Interval)
((null | Interval))
Type: (null | LinkedTimeScale)
(null | LinkedTimeScale)
Type: (null | LinkedTimeScale)
((null | LinkedTimeScale))
Configures the time axis to show times in the given time zone. This replaces timeFormat with createTimeFormatterForZone() and sets xSublabel to be the zone name. If zone is null, uses UTC.
((null | Zone | string))
string like "US/Eastern" or luxon Zone
Time formatter used by the x axis. Defaults to UTC via createTimeFormatterForZone(zone). Set xAxisTimeZone to change the time zone.
any:
formatter for x axis time labels
Fake data to use to test alignment of seismograph axis and between canvas and svg drawing.
(Interval)
start and end of fake data
(any
= -100)
min amplitude for fake data, default is -100
(any
= 100)
max amplitude for fake data, default is 100
SeismogramDisplayData:
fake data
SeismographConfig
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}
(number)
(boolean)
(boolean)
(string)
(boolean)
(string)
(string)
(string)
(boolean)
(boolean)
(boolean)
(boolean)
(string)
(string)
(string)
(string)
(number)
(boolean)
(boolean)
(number)
(number)
(string)
(number)
((null | number))
(number)
((null | number))
(MarginType)
(number)
(number)
(boolean)
(number)
(boolean)
(AMPLITUDE_MODE)
(boolean)
(boolean)
((null | Interval))
(boolean)
(boolean)
(boolean)
function (domainValue: AxisDomain): string
(number)
string
(Zone)
function (arg0: Date): string