Overrides the getter for the scale exposed to the wellog component's tracks
Getter for the current mode
Creates a function, which implements the d3.scale members required by the tracks in the wellog component. The scale function, and its reverse, will handle interpolation/conversion between the domains, using the provided scale interpolator.
set or get scale's range
Update scale according to transform
Rescales the domain of the internal scale according to the selected mode.
Set mode of the scale handler. Mode is used to switch between domains, so that the internal scale will always be according to the domain of the current mode, while the data scale will always conform to the master mode. mode = 0: master mode mode = 1: alternate mode
Return ticks based on scale's current domain and range
Generated using TypeDoc
Scale handler supporting interpolation between domains. A scale interpolator is required to convert between the domains. This is implemented as an object with 2 conversion functions, forward and reverse. It also needs to implement 2 more functions, forwardInterpolatedDomain and reverseInterpolatedDomain. These should return the corresponding domain based on the opposite domain, i.e. MD <==> TVD.