NearestPeakMarker

class NearestPeakMarker(var traceIndex: Int, var name: String, var x: Double, var lowerYBound: Double? = null, var lowerXBoundMarker: String? = null, var upperXBoundMarker: String? = null, var referenceMarker: String? = null) : Overlay

Puts a marker on the trace at the nearest peak to a fixed x position

Constructors

Link copied to clipboard
constructor(traceIndex: Int, name: String, x: Double, lowerYBound: Double? = null, lowerXBoundMarker: String? = null, upperXBoundMarker: String? = null, referenceMarker: String? = null)

Properties

Link copied to clipboard

The lower x-bound marker name.

Link copied to clipboard

The lower y-bound.

Link copied to clipboard

The name.

Link copied to clipboard

The reference marker name.

Link copied to clipboard

The trace index.

Link copied to clipboard

The upper x-bound marker name.

Link copied to clipboard
var x: Double

The x value.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean

Returns true if this instance is equal to other.

Link copied to clipboard
open override fun hashCode(): Int

Returns a hash code value for this instance.

Link copied to clipboard
open override fun toString(): String

Returns a string representation of this instance.