API / geotoolkit / welllog / LogCurve / LogCurve

Class: LogCurve

welllog.LogCurve.LogCurve

Creates the standard representation of a well log curve. Data is passed in a LogAbstractData.
The LogCurve is constructed from the passed data source, then addChild() has to be used to add the curve to the track. The corresponding Line Style and interpolation type is set with helper methods.
Several methods are also available to handle Clipping, Wrapping, Display Modes( symbols, values etc), curve limits , decimation etc.
setMicroPosition() can be used to place log curve at a specified position of the track in horizontal direction.
Similarly, the add/remove/get-Child() has to be used to add the track containing the curve, to the TrackContainer.

Example

import {TrackContainer} from '@int/geotoolkit/welllog/TrackContainer';
import {LogTrack} from '@int/geotoolkit/welllog/LogTrack';
import {LogCurve} from '@int/geotoolkit/welllog/LogCurve';

new TrackContainer(..)
.addChild(new LogTrack(..)
.addChild(new LogCurve(dataSource))
)

Hierarchy

Table of contents

Constructors
[new LogCurve(data, autoUpdate)](/solutions/geotoolkit/apis/classes/geotoolkit.welllog.logcurve.logcurve.md#new logcurve(data, autoupdate))[new LogCurve(params)](/solutions/geotoolkit/apis/classes/geotoolkit.welllog.logcurve.logcurve.md#new logcurve(params))
Accessors
Methods
_getDisplayMode_setDisplayModeaddCssClass
addInvalidateHandlerapplyOpacityapplyResponsiveStyle
checkCollisioncloneconnectStyle
convertCurveToDataValueconvertDataToCurveValuecopyConstructor
disconnectStyledisposeenableEventPropagation
executefiltergetAnimationStyle
getAutoLimitsStrategygetBarLineStylegetBaseName
getBoundsgetClassNamegetClipStyle
getContentsTransformgetCssgetCssClass
getCssClassesgetCssTransformgetDataLimits
getDataRangegetDataSourcegetDescription
getDisplayModegetDisplayUnitgetDrawOutOfRangeValues
getGapFillCutoffModegetGapFillCutoffUnitgetGapFillCutoffValue
getGapUnitgetGapValuegetGradientLineStyle
getHeadergetHeadersgetHideOverlappedValues
getIdgetInterpolationEdgegetInterpolationType
getInvalidateMethodgetLimitsTypegetLineStyle
getLocalTransformgetMarginsStylegetMaxWraps
getMaximumClippingLimitgetMaximumNormalizationLimitgetMicroPositionLeft
getMicroPositionRightgetMicroPositionTransformationgetMinimumClippingLimit
getMinimumNormalizationLimitgetModelLimitsgetName
getNearestSampleIndexgetNeatLogLimitsgetNullValueSymbol
getOpacitygetOpacityBlendModegetOptimizationBar
getOptimizationCurvegetOptimizationSymbolgetOptimizationValue
getParentgetPropertiesgetProperty
getPropertyKeysgetReferenceCurvegetRenderingFilter
getResponsiveStylegetRootgetScaleScrollStrategy
getScaleTypegetScaledDatagetSceneTransform
getSymbolgetSymbolDecimationDistancegetSymbolDecimationStep
getSymbolFormattergetSymbolsGapgetSymbolsSkipIntersectionRatio
getTaggetTextAnchorTypegetTextAutoAlignment
getTextAutoAlignmentOffsetgetTextDecimationStepgetTextReference
getTextStylegetTrackgetValue
getValueDataLimitsgetValueFormatgetVisible
getWorldTransformgetWrapLineStyleHandlergetZIndex
hasCssClasshasEventListenerhitTest
invalidateinvalidateParentisAutoBounds
isBarsRightAlignedisClippingEnabledisCustomLimits
isDisposedisEventPropagationEnabledisHorizontalFlip
isNormalizationEnabledisNotificationEnabledisSelectable
isSilentisVisibleBarisVisibleLine
isVisibleNullValueSymbolisVisibleSymbolisVisibleValue
isWrappingnotifyoff
ononHeaderSetonMicroPositionChanged
onParentChangedonVisibilityChangedpostRendering
preRenderingregisterAnimationStyleremoveCssClass
removeInvalidateHandlerrenderrenderAsync
renderContentresetClippingLimitsresetNormalizationLimits
rotatescalesetAnimationStyle
setAutoBoundssetAutoLimitsStrategysetBarLineStyle
setBarsRightAlignedsetBaseNamesetBounds
setClipStylesetClippingLimitssetCss
setCssClasssetCssTransformsetData
setDescriptionsetDisplayModesetDisplayUnit
setDrawOutOfRangeValuessetGapFillCutoffModesetGapFillCutoffUnit
setGapFillCutoffValuesetGapUnitsetGapValue
setGradientLineStylesetHeadersetHideOverlappedValues
setHorizontalFlipsetIdsetInterpolationEdge
setInterpolationTypesetLineStylesetLocalTransform
setMarginsStylesetMaxWrapssetMicroPosition
setNamesetNeatLogLimitssetNormalizationLimits
setNotificationsetNullValueSymbolsetOpacity
setOptimizationBarsetOptimizationCurvesetOptimizationSymbol
setOptimizationTypesetOptimizationValuesetProperties
setPropertysetReferenceCurvesetRenderingFilter
setResponsiveStylesetScaleScrollStrategysetScaleType
setSelectablesetSilentsetSymbol
setSymbolDecimationDistancesetSymbolDecimationStepsetSymbolFormatter
setSymbolOptimizationTypesetSymbolSkipIntersectionRatiosetSymbolsGap
setTagsetTextAnchorTypesetTextAutoAlignment
setTextAutoAlignmentOffsetsetTextDecimationStepsetTextReference
setTextStylesetValueFormatsetVisible
setVisibleBarsetVisibleLinesetVisibleNullValueSymbol
setVisibleSymbolsetVisibleValuesetWrapLineStyleHandler
setWrappingsetZIndexshear
toStringtranslateunregisterAnimationStyle
updateFromDataupdateSceneTransformationupdateState
updateTimeStampconvertOptimizationTypeValueenableSceneGraphNotification
findParentgetClassNameisSceneGraphNotificationEnabled
Css Properties
Name Type Description
autoboundsbooleanEnables or disables auto bounds
autoupdatebooleanAutomatic update from datasource. If true, curve listens to data changes from source
barlinestylestringValue-bar line style
barlinestyleLineStyleValue-bar line style
barlinestyle-colorstringColor in CSS form
barlinestyle-fillstringOptional fill style to be used to fill lines generated with this style
barlinestyle-fillFillStyleOptional fill style to be used to fill lines generated with this style
barlinestyle-fill-colorstringColor in CSS form
barlinestyle-fill-evenoddmodebooleanEven-odd fill mode
barlinestyle-fill-fillpatternPatternPattern
barlinestyle-fill-fillpattern-containernamestringAn optional container name, which creates an image pattern. This parameter is used for serialization if you want to save are reference to pattern instead of the pattern itself
barlinestyle-fill-fillpattern-patternnamestringName of this pattern for indexing
barlinestyle-fill-fillpattern-scalablebooleanFlag that sets scalability of the pattern coordinates, or relative to the shape it is filling (It is not supported)
barlinestyle-fill-foregroundstringForeground color
barlinestyle-fill-patternPatternPattern
barlinestyle-linecapCapStyleThe line cap style
barlinestyle-linedashoffsetnumberLine dash offset of dashed line
barlinestyle-linejoinJoinStyleThe line join style
barlinestyle-pixelsnapmodebooleanPixel Snap Mode, default(
barlinestyle-scalablebooleanTrue if width should depend on transformation
barlinestyle-unitstringOptional unit for the width
barlinestyle-widthnumber | stringThe line thickness
basenamestringThe base name
boundsRectThe rectangle specifying position of the visual in the track. If set, autobounds will be switched off
bounds-heightnumberHeight
bounds-readonlybooleanReadonly
bounds-widthnumberWidth
bounds-xnumberLeft
bounds-ynumberTop
centeronzeroonnegativeminbooleanFlag set to center the limits
cliplimitsmaxnumberMax clipping limits
cliplimitsminnumberMin clipping limits
clippingbooleanFlag to enable clipping
clipstyleClipStyleClipping style
clipstyle-evenoddbooleanTrue if evenodd mode is on ('nonzero' mode otherwise)
clipstyle-geometryGraphicsPathClipping geometry
clipstyle-geometry-boundsRectBounds
clipstyleGraphicsPathClipping style
cssclassstringThe css class name of this node
csscursorstringCSS cursor associated with node
cssstylestringCSS style to be applied to inserted elements
descriptionstringThe description
displayunitstringDisplay unit
gradientlinestyleLogGradientStyleGradient line style
gradientlinestyle-colorstringColor in CSS form
gradientlinestyle-colorproviderstringColor provider
gradientlinestyle-colorproviderColorProviderColor provider
gradientlinestyle-colorprovider-maxnumber
gradientlinestyle-colorprovider-minnumber
gradientlinestyle-colorprovider-scaleKnownScales
gradientlinestyle-colorrangeRangeColor range (min and max value)
gradientlinestyle-colorrange-highnumberUpper range boundary
gradientlinestyle-colorrange-lownumberLower range boundary
gradientlinestyle-colorrange-maxnumber
gradientlinestyle-colorrange-minnumber
gradientlinestyle-datasourcestringLog data id
gradientlinestyle-evenoddmodebooleanEven-odd fill mode
gradientlinestyle-fillpatternPatternPattern
gradientlinestyle-foregroundstringForeground color
gradientlinestyle-normalizebooleanNormalize data value to color space, default true
gradientlinestyle-patternPatternPattern
gradientlinestyle-renderbackgroundbooleanExtra style parameter for background fill
gradientlinestyle-renderforegroundbooleanExtra style parameter for foreground fill. Normally to render patterns
gradientlinestyle-transparencynumberValue for alpha chanel
hideoverlappedvaluesbooleanHide overlapped value
horizontalflipbooleanHorizontal flip
idstring | numberId of the node, its a unique identifier
interpolationedgeInterpolationEdgeEdge values interpolation type in case of properties.limitstype==LimitsType.Manual
interpolationtypeInterpolationTypeInterpolation type
limitsmaxnumberMax limits value in case of data.limitstype==LimitsType.Manual
limitsminnumberMin limits value in case of data.limitstype==LimitsType.Manual
limitstypeLimitsTypeLimits type
linestylestringLinestyle
linestyleLineStyleLinestyle
localtransformTransformationLocal transformation
localtransform-dxnumberX axis translation
localtransform-dynumberY axis translation
localtransform-xxnumberX scale
localtransform-xynumberXy skew
localtransform-yxnumberYx skew
localtransform-yynumberY scale
marginsnumber | stringIt has properties for specifying the margins for each side
maxwrapsnumberMaximum count of wraps (by default 5)
microposleftnumberLeft micro position
microposrightnumberRight micro position
namestringName of the node. It is often used for debugging purposes or to simplify queries
nullvaluesymbolSymbolShapeNull value symbol
nullvaluesymbol-alignmentAnchorTypeAlignment according to the anchor point
nullvaluesymbol-alignmentAnchorTypeAnchor type of symbol
nullvaluesymbol-axnumberAnchor x position
nullvaluesymbol-aynumberAnchor y position
nullvaluesymbol-cachebooleanSet it to true if you want to cache complex geometry to raster
nullvaluesymbol-clipstyleClipStyleClipping style
nullvaluesymbol-clipstyleGraphicsPathClipping style
nullvaluesymbol-cssclassstringThe css class name of this node
nullvaluesymbol-csscursorstringCSS cursor associated with node
nullvaluesymbol-cssstylestringCSS style to be applied to inserted elements
nullvaluesymbol-fillstylestringStyle applied on fill
nullvaluesymbol-fillstyleFillStyleStyle applied on fill
nullvaluesymbol-heightnumberShape height
nullvaluesymbol-idstring | numberId of the node, its a unique identifier
nullvaluesymbol-ispointingupbooleanDefines whether the shape is always pointing up
nullvaluesymbol-layoutstyleLayoutStyleLayout style to specify how to lay out shape
nullvaluesymbol-layoutstyle-constraintSizeConstraintLayout constrains
nullvaluesymbol-layoutstyle-flexgrownumberNumber specifying how much the item will grow relative to the rest of the items inside the same container
nullvaluesymbol-layoutstyle-flexshrinknumberNumber specifying how much the item will shrink relative to the rest of the items inside the same container
nullvaluesymbol-layoutstyle-floatstringFloat position
nullvaluesymbol-layoutstyle-positionstringLayout position
nullvaluesymbol-layoutstyle-sizenumber | stringLayout size
nullvaluesymbol-linestylestringStyle applied on outline
nullvaluesymbol-linestyleLineStyleStyle applied on outline
nullvaluesymbol-localtransformTransformationLocal transformation
nullvaluesymbol-marginsnumber | stringIt has properties for specifying the margins for each side
nullvaluesymbol-maxdimensionDimensionMaximum size for rendering
nullvaluesymbol-maxdimension-heightnumberHeight of dimension
nullvaluesymbol-maxdimension-widthnumberWidth of dimension or properties
nullvaluesymbol-mindimensionDimensionMinimum size for rendering
nullvaluesymbol-namestringName of the node. It is often used for debugging purposes or to simplify queries
nullvaluesymbol-opacitynumberNode opacity (from 0 to 1). If it is undefined or null it inherits property from the parent. It changes globalAlpha on the rendering context
nullvaluesymbol-opacityblendmodeBlendModeNode opacity mode to blend it
nullvaluesymbol-painterstringA function with has parameters: symbol, box, context
nullvaluesymbol-painterpropertiesanySymbol's painter's properties
nullvaluesymbol-preserveaspectratiobooleanPreserve aspect ratio of the anchored shape
nullvaluesymbol-preservereadingorientationbooleanPreserve reading orientation for local transform
nullvaluesymbol-preserverightanglebooleanPreserve right angle for local transformation
nullvaluesymbol-rotationanglenumberRotation angle at anchor
nullvaluesymbol-scalescrollstrategyScaleScrollStrategyScale scroll strategy
nullvaluesymbol-scalescrollstrategy-enabledbooleanEnable flag
nullvaluesymbol-selectablebooleanSelectable node, a boolean to determine if selection should consider this node
nullvaluesymbol-sizeisindevicespacebooleanIs coordinate in device space
nullvaluesymbol-taganyCustom information associated with node. It is a user object which can be used by client code to store information or attach an application object to the shape
nullvaluesymbol-transformstringAdditional CSS transformation applied to node or 'none'
nullvaluesymbol-transformTransformationAdditional CSS transformation applied to node or 'none'
nullvaluesymbol-useminmaxdimensionsbooleanUse the min max dimensions to limit visual size
nullvaluesymbol-visiblebooleanVisibility of the node, a boolean to determine if the node should be rendered or not
nullvaluesymbol-widthnumberShape width
nullvaluesymbol-z-indexnumberDefine node z-index
nullvaluesymbolvisiblebooleanFlag to change visibility of null value symbol
opacitynumberNode opacity (from 0 to 1). If it is undefined or null it inherits property from the parent. It changes globalAlpha on the rendering context
opacityblendmodeBlendModeNode opacity mode to blend it
optimizationbooleanOptimization flags
outofrangevaluesbooleanOutofrangevalues flag
scalescrollstrategyScaleScrollStrategyScale scroll strategy
scaletypeScaleTypeValues scale type
selectablebooleanSelectable node, a boolean to determine if selection should consider this node
symbolSymbolShapeSymbol to be used
symboldecimationdistancenumberSymbol decimation distance
symboldecimationstepnumberSymbol decimation step or level
symbolgapnumberSymbol gap
symbolgapDimensionSymbol gap
taganyCustom information associated with node. It is a user object which can be used by client code to store information or attach an application object to the shape
textautoalignmentbooleanAutomatic text alignment for text values, which intersects border of the track
textautoalignmentoffsetnumberText offset from anchor for automatic text alignment
textautoalignmentoffsetPointText offset from anchor for automatic text alignment
textautoalignmentoffset-xnumberX coordinate
textautoalignmentoffset-ynumberY coordinate
textdecimationstepnumberText decimation step
textreferenceTextReferenceType of the text to be put on the track
textstylestringText style
textstyleTextStyleText style
textstyle-alignmentAlignmentStyleAlignment
textstyle-autosizebooleanAuto font size on high definition display
textstyle-backgroundstringBackground style
textstyle-backgroundFillStyleBackground style
textstyle-baselineBaseLineStyleBase line
textstyle-colorstringColor in CSS form
textstyle-fillFillStyleText fill style
textstyle-fontstringFont see
textstyle-fonturlstringThe place from which the font will be loaded, if null - uses system fonts. It can be base64 with url keyword
textstyle-lineheightstring | numberLine height
textstyle-multilinebooleanAllow multi-line text
textstyle-outlinestringOutline style
textstyle-outlineLineStyleOutline style
textstyle-overflowwrapOverflowWrapStyleOverflow wrap
textstyle-strikethroughstringStrikethrough style
textstyle-strikethroughLineStyleStrikethrough style
textstyle-textoverflowTextOverflowStyleText overflow
textstyle-underlinestringUnderline style
textstyle-underlineLineStyleUnderline style
textstyle-underlineoffsetstring | numberUnderline offset distance
textstyle-whitespaceWhiteSpaceStyleWhite space
textstyle-wordbreakWordBreakStyleWord break
transformstringAdditional CSS transformation applied to node or 'none'
transformTransformationAdditional CSS transformation applied to node or 'none'
visiblebooleanVisibility of the node, a boolean to determine if the node should be rendered or not
wrappingbooleanFlag to enable wrapping based on if you want to see the clipped part of the track or not
z-indexnumberDefine node z-index

Contents

Constructors

new LogCurve(data, autoUpdate)

new LogCurve(data?, autoUpdate?)

Parameters

Name Type
Optional dataLogAbstractData
Optional autoUpdateboolean

Overrides

LogPointSet.constructor


new LogCurve(params)

new LogCurve(params?)

Parameters

Name Type
Optional paramsOptions

Overrides

LogPointSet.constructor

Accessors

DefaultClippingType

Static get DefaultClippingType(): ClippingType

Default Clipping type

Returns

ClippingType

Methods

_getDisplayMode

Protected _getDisplayMode(): DisplayMode

Returns display mode

Returns

DisplayMode


_setDisplayMode

Protected _setDisplayMode(displayMode): LogCurve

Sets display mode

Parameters

Name Type Description
displayModeDisplayModedisplay mode

Returns

LogCurve

this


addCssClass

addCssClass(cssclass): LogCurve

Adds new css class to node

Parameters

Name Type Description
cssclassstring | string[]css class name('s)

Returns

LogCurve

this

Inherited from

LogPointSet.addCssClass


addInvalidateHandler

addInvalidateHandler(handler): LogCurve

Add invalidate handler

Deprecated

since 4.0, use Node.on instead

Parameters

Name Type Description
handlerFunctionhandler to be notified about invalidation

Returns

LogCurve

this

Inherited from

LogPointSet.addInvalidateHandler


applyOpacity

Protected applyOpacity(context): LogCurve

This method is called to apply opacity if it is specified on the rendering context. The default implementation sets global alpha on the rendering context

Parameters

Name Type Description
contextRenderingContextRendering Context

Returns

LogCurve

this

Inherited from

LogPointSet.applyOpacity


applyResponsiveStyle

Protected applyResponsiveStyle(): void

Apply a responsive style rules it is exists

Returns

void

Inherited from

LogPointSet.applyResponsiveStyle


checkCollision

checkCollision(context): boolean

Check culling. Returns true if object is inside of renderable area

Parameters

Name Type Description
contextRenderingContextRendering Context

Returns

boolean

Inherited from

LogPointSet.checkCollision


clone

clone(): LogCurve

All subclasses should override copyConstructor or provide custom implementation for this method

Returns

LogCurve

clone

Overrides

LogPointSet.clone


connectStyle

connectStyle(style, type, callback): LogCurve

Connects style.

This convenience method subscribes a listener to given style for the specified type.
And automatically un-subscribes listener if node is disposed to prevent memory leaks

Parameters

Name Type Description
styleEventDispatcherconnect style
typestringtype of event or property
callbackAttributeCallback<EventDispatcher>function to be called

Returns

LogCurve

this

Inherited from

LogPointSet.connectStyle


convertCurveToDataValue

convertCurveToDataValue(v): number

Converts curve model value to data sample value If the data source is not set, the method will yield NaN as a result.

Parameters

Name Type Description
vnumbercurve value

Returns

number

a data value


convertDataToCurveValue

convertDataToCurveValue(v, d?): number

Converts data sample value to curve model value If the data source is not set, the method will yield NaN as a result.

Parameters

Name Type Description
vnumberdata value
Optional dnumberdata depth

Returns

number

a curve value


copyConstructor

Protected copyConstructor(src, deepCopy?): LogCurve

Copy constructor function.
Function used as part of the cloning mechanism.
Implementations should copy the given instance state to this instance.

Parameters

Name Type Description
srcLogCurveSource to copy from
Optional deepCopybooleandeep copy

Returns

LogCurve

this

Overrides

LogPointSet.copyConstructor


disconnectStyle

disconnectStyle(style, type, callback): LogCurve

Disconnect style
This convenience method un-subscribes a listener to given style for the specified type.

Parameters

Name Type Description
styleEventDispatcherconnect style
typestringtype of event or property
callbackAttributeCallback<EventDispatcher>function to be called

Returns

LogCurve

this

Inherited from

LogPointSet.disconnectStyle


dispose

dispose(): void

Disposes this node, once disposes a node should not be used anymore.
Clear all listeners, and disconnect styles to avoid memory leaks.
Also aggressively 'cleanup' this node by setting some of its members to null.

Returns

void

Inherited from

LogPointSet.dispose


enableEventPropagation

enableEventPropagation(enable): LogCurve

Enable event propagation from the node hierarchy from bottom to top

This option is similar to DOM Event bubbling, which allows to get any event from child node. By default it is disabled for better performance.

Example

import {Group} from '@int/geotoolkit/scene/Group';
import {Events as SceneEvents} from '@int/geotoolkit/scene/Node';
const parentGroup = new Group()
.setName('ParentGroup')
.enableEventPropagation(true);
const childGroup = new Group()
.setName('ChildGroup');

parentGroup.addChild(childGroup);
parentGroup.on(SceneEvents.Invalidate, (eventName, sender, args) => {
// Got notifications from all children of parent group
});
childGroup.invalidate();

Parameters

Name Type Description
enablebooleanenable

Returns

LogCurve

this

Inherited from

LogPointSet.enableEventPropagation


execute

execute(delegate): LogCurve

Executes delegate and return the result. It allows us to keep all initialization calls in one place,
and we do not need to scroll up or down in IDE to find how and where it was initialized.

Example

// All setters (.setName() for example) returns reference to the this.
// In order to modify inner object like LineStyle or Pattern, to get this object (property) we should call getter to get object reference.
// Then modify it as shown below in Option 1 or you can use execute methods shown in Option 2.
import {Group} from '@int/geotoolkit/scene/Group';
import {Rect} from '@int/geotoolkit/util/Rect';
// Option 1
const group = new Group()
.setName('MyGroup')
.setBounds(new Rect(0, 0, 42, 16))
.enableClipping(true)
.setTag({'type': 'sometype'});

group.getLineStyle().setPattern('pattern');
return group;

// Options 2 ( using execute method )
return group
.execute(function () {
this.getLineStyle()
.setPattern("pattern");
});

Parameters

Name Type Description
delegate(this: LogCurve) => voidFunction to execute

Returns

LogCurve

The result if any or this

Inherited from

LogPointSet.execute

execute<T>(delegate): T

Type parameters

Name
T

Parameters

Name Type
delegate(this: LogCurve) => T

Returns

T

Inherited from

LogPointSet.execute


filter

Protected filter(context): boolean

Filter node

Parameters

Name Type Description
contextRenderingContextRendering Context

Returns

boolean

flag filter flag ("true" to render node; "false" otherwise)

Inherited from

LogPointSet.filter


getAnimationStyle

getAnimationStyle(): AnimationStyle

Return animation style

Returns

AnimationStyle

animationStyle current animation style

Inherited from

LogPointSet.getAnimationStyle


getAutoLimitsStrategy

getAutoLimitsStrategy(): LogCurveLimitsStrategy

Return auto limits strategy. If it is null then default logic will be used depending on limits type

Returns

LogCurveLimitsStrategy


getBarLineStyle

getBarLineStyle(): LineStyle

Helper method to get value-bars line style

Returns

LineStyle


getBaseName

getBaseName(): string

Returns the base name

Returns

string

The base name

Inherited from

LogPointSet.getBaseName


getBounds

getBounds(): Rect

Return bound in the parent coordinates

Returns

Rect

Inherited from

LogPointSet.getBounds


getClassName

getClassName(): string

Returns

string

Inherited from

LogPointSet.getClassName


getClipStyle

getClipStyle(): ClipStyle

Gets the current clipping style

Returns

ClipStyle

clipping style

Inherited from

LogPointSet.getClipStyle


getContentsTransform

getContentsTransform(): Transformation

Retrieves the world transformation of the spatial

Returns

Transformation

Inherited from

LogPointSet.getContentsTransform


getCss

getCss(): CssStyle

Return CSS style

Returns

CssStyle

Inherited from

LogPointSet.getCss


getCssClass

getCssClass(): string

Returns css class name to be used to apply CSS style

Returns

string

the css class name

Inherited from

LogPointSet.getCssClass


getCssClasses

getCssClasses(): string[]

Gets list of css class names which applied to this node

Returns

string[]

Inherited from

LogPointSet.getCssClasses


getCssTransform

getCssTransform(): string

Returns CSS transformation

Returns

string

Inherited from

LogPointSet.getCssTransform


getDataLimits

getDataLimits(fullLimits?): Rect

Return meaning data limits

Parameters

Name Type Description
Optional fullLimitsbooleandefault value is false

Returns

Rect

Inherited from

LogPointSet.getDataLimits


getDataRange

getDataRange(fromDepth, toDepth, transformation?): AbstractScaledData

Returns data range

Parameters

Name Type Description
fromDepthnumberfrom depth
toDepthnumberto depth
Optional transformationTransformationtransformation

Returns

AbstractScaledData

data range


getDataSource

getDataSource(): LogAbstractData

Returns WellLog Data

Returns

LogAbstractData


getDescription

getDescription(): string

Gets the description

Returns

string

The description

Inherited from

LogPointSet.getDescription


getDisplayMode

getDisplayMode(): string[]

Returns display mode

Returns

string[]

any combination of values: 'line', 'symbol', 'value', 'bar' or an empty array


getDisplayUnit

getDisplayUnit(): AbstractUnit

Returns display unit

Returns

AbstractUnit


getDrawOutOfRangeValues

getDrawOutOfRangeValues(): boolean

Returns true if zero is a valid value in logarithmic mode

Returns

boolean


getGapFillCutoffMode

getGapFillCutoffMode(): CutoffMode

Return cutoff mode

Returns

CutoffMode


getGapFillCutoffUnit

getGapFillCutoffUnit(): AbstractUnit

Returns the unit of the cutoff used for removing NaN valued samples

Returns

AbstractUnit

The cutoff unit


getGapFillCutoffValue

getGapFillCutoffValue(): number

Returns the value of the cutoff used for removing NaN valued samples

Returns

number

The cutoff value


getGapUnit

getGapUnit(): AbstractUnit

Returns the unit of the gap

Returns

AbstractUnit

The cutoff unit


getGapValue

getGapValue(): number

Returns The maximum discontinuity allowed in depth or time

Returns

number

value


getGradientLineStyle

getGradientLineStyle(): LogGradientStyle

Returns log gradient style

Returns

LogGradientStyle

log gradient style


getHeader

getHeader(name): LogVisualHeader<Node>

Return the header registered by the name

Parameters

Name Type Description
namestringheader name

Returns

LogVisualHeader<Node>

header

Inherited from

LogPointSet.getHeader


getHeaders

getHeaders(): Record<string, LogVisualHeader<Node>>

Return an object that contains all headers registered with the visual

Returns

Record<string, LogVisualHeader<Node>>

headers

Inherited from

LogPointSet.getHeaders


getHideOverlappedValues

getHideOverlappedValues(): boolean

Gets hide overlapped values flag

Returns

boolean

hide overlapped values


getId

getId(): string | number

Returns the associated identifier of the node

Returns

string | number

The node's id

Inherited from

LogPointSet.getId


getInterpolationEdge

getInterpolationEdge(): InterpolationEdge

Returns edge values interpolation type

Returns

InterpolationEdge


getInterpolationType

getInterpolationType(): InterpolationType

Returns interpolation type

Returns

InterpolationType


getInvalidateMethod

Protected getInvalidateMethod(): AttributeCallback<EventDispatcher>

Gets invalidate method

Returns

AttributeCallback<EventDispatcher>

method to invalidate this object

Inherited from

LogPointSet.getInvalidateMethod


getLimitsType

getLimitsType(): LimitsType

Returns limits type

Returns

LimitsType


getLineStyle

getLineStyle(): LineStyle

Returns line style

Returns

LineStyle

Inherited from

LogPointSet.getLineStyle


getLocalTransform

getLocalTransform(): Transformation

Retrieves the transformation of bounds to parent

Returns

Transformation

transform the local transform.

Inherited from

LogPointSet.getLocalTransform


getMarginsStyle

getMarginsStyle(): SpaceStyle<string | number>

Return margins style

Returns

SpaceStyle<string | number>

Inherited from

LogPointSet.getMarginsStyle


getMaxWraps

getMaxWraps(): number

Returns maximum count of the wraps

Returns

number


getMaximumClippingLimit

getMaximumClippingLimit(): number

Returns maximum clipping limit

Returns

number


getMaximumNormalizationLimit

getMaximumNormalizationLimit(): number

Returns maximum normalization limit

Returns

number


getMicroPositionLeft

getMicroPositionLeft(): number

Returns micro position left

Returns

number

Inherited from

LogPointSet.getMicroPositionLeft


getMicroPositionRight

getMicroPositionRight(): number

Returns micro position right

Returns

number

Inherited from

LogPointSet.getMicroPositionRight


getMicroPositionTransformation

Protected getMicroPositionTransformation(): Transformation

Returns micro position transformation

Returns

Transformation

micro position transformation

Inherited from

LogPointSet.getMicroPositionTransformation


getMinimumClippingLimit

getMinimumClippingLimit(): number

Returns minimum clipping limit

Returns

number


getMinimumNormalizationLimit

getMinimumNormalizationLimit(): number

Returns minimum normalization limit

Returns

number


getModelLimits

getModelLimits(): Rect

Returns model limits

Returns

Rect

Overrides

LogPointSet.getModelLimits


getName

getName(): string

Returns the node name

Returns

string

The node name

Inherited from

LogPointSet.getName


getNearestSampleIndex

getNearestSampleIndex(pt, maxDistance?, transformation?): number

Return nearest original sample index from data source by device point

Parameters

Name Type Description
ptPointdevice point to find index of the sample
Optional maxDistancenumbermaximum distance in pixels from the current point
Optional transformationTransformationtransformation of curve to device. If it is not specified, getSceneTransform() is used.

Returns

number

index of the sample. if data is not specified or sample is nof found it returns -1


getNeatLogLimits

getNeatLogLimits(): boolean

Gets the value of centerOnZeroOnNegativeMin property

Returns

boolean


getNullValueSymbol

getNullValueSymbol(): SymbolShape

Returns symbol to be used to draw markers for null value

Returns

SymbolShape


getOpacity

getOpacity(): number

Returns current node opacity

Returns

number

opacity

Inherited from

LogPointSet.getOpacity


getOpacityBlendMode

getOpacityBlendMode(): BlendMode

Returns current node opacity

Returns

BlendMode

opacity blend mode

Inherited from

LogPointSet.getOpacityBlendMode


getOptimizationBar

getOptimizationBar(): boolean

Returns bars optimization flag

Returns

boolean


getOptimizationCurve

getOptimizationCurve(): boolean

Returns curve optimization flag

Returns

boolean


getOptimizationSymbol

getOptimizationSymbol(): boolean

Returns symbol optimization flag

Returns

boolean


getOptimizationValue

getOptimizationValue(): boolean

Returns values optimization flag

Returns

boolean


getParent

getParent(): Node

Return parent node

Returns

Node

parent node

Inherited from

LogPointSet.getParent


getProperties

getProperties(): OptionsOut

Gets all the properties pertaining to this object

Returns

OptionsOut

Overrides

LogPointSet.getProperties


getProperty

getProperty(name): any

Gets dynamic property by name. These properties can be used as a property bags

Parameters

Name Type Description
namestringproperty name

Returns

any

Inherited from

LogPointSet.getProperty


getPropertyKeys

getPropertyKeys(): string[]

Returns known properties keys

Returns

string[]

Inherited from

LogPointSet.getPropertyKeys


getReferenceCurve

getReferenceCurve(): LogCurve | LogReferenceLine

Returns reference curve

Returns

LogCurve | LogReferenceLine

reference curve


getRenderingFilter

getRenderingFilter(): IFilter

Return filter to be used for rendering and picking

Returns

IFilter

current filter

Inherited from

LogPointSet.getRenderingFilter


getResponsiveStyle

getResponsiveStyle(): ResponsiveStyle

Return responsive style

Returns

ResponsiveStyle

Inherited from

LogPointSet.getResponsiveStyle


getRoot

getRoot(): Node

Returns root node.
If node doesn't have parent then it returns itself.

Returns

Node

the root node

Inherited from

LogPointSet.getRoot


getScaleScrollStrategy

getScaleScrollStrategy(): Delegate

Gets scale scroll strategy

Returns

Delegate

scale scroll strategy

Inherited from

LogPointSet.getScaleScrollStrategy


getScaleType

getScaleType(): ScaleType

Returns current scale type.

Returns

ScaleType


getScaledData

getScaledData(transformation?): AbstractScaledData

Returns scaled data

Parameters

Name Type Description
Optional transformationTransformationtransformation

Returns

AbstractScaledData

Overrides

LogPointSet.getScaledData


getSceneTransform

getSceneTransform(): Transformation

Returns transformation from node to root scene

Returns

Transformation

a transformation from node to root scene

Inherited from

LogPointSet.getSceneTransform


getSymbol

getSymbol(): SymbolShape

Returns symbol to be used to draw markers

Returns

SymbolShape


getSymbolDecimationDistance

getSymbolDecimationDistance(): number

Returns symbol decimation distance

Returns

number


getSymbolDecimationStep

getSymbolDecimationStep(): number

Returns symbol decimation step

Returns

number


getSymbolFormatter

getSymbolFormatter(): SymbolFormatterCallback

Return symbol formatter

Returns

SymbolFormatterCallback


getSymbolsGap

getSymbolsGap(): Dimension

Returns symbols gap

Returns

Dimension


getSymbolsSkipIntersectionRatio

getSymbolsSkipIntersectionRatio(): number

Gets symbols' skip intersection ratio

Returns

number


getTag

getTag(): any

Returns the object associated with the node by user.

Returns

any

The node's user-object

Inherited from

LogPointSet.getTag


getTextAnchorType

getTextAnchorType(): AnchorType

Gets text anchor type

Returns

AnchorType


getTextAutoAlignment

getTextAutoAlignment(): boolean

Gets status if automatic text alignment is enabled for text values which intersect border of the track

Returns

boolean

enable enable automatic text alignment


getTextAutoAlignmentOffset

getTextAutoAlignmentOffset(): Point

Gets text offset from anchor for automatic text alignment

Returns

Point

text offset for automatic text alignment


getTextDecimationStep

getTextDecimationStep(): number

Returns text decimation step

Returns

number


getTextReference

getTextReference(): TextReference

Gets sample's text reference type: 'track' or 'sample'

Returns

TextReference


getTextStyle

getTextStyle(): TextStyle

Gets text style

Returns

TextStyle


getTrack

getTrack(): ITrack

Returns parent track if LogTrack

Returns

ITrack

Inherited from

LogPointSet.getTrack


getValue

getValue(depth): number

Returns interpolated value

Parameters

Name Type Description
depthnumberdepth

Returns

number


getValueDataLimits

getValueDataLimits(): Range

Returns original data value limits

Returns

Range


getValueFormat

getValueFormat(): NumberFormat

Returns formatter to format values

Returns

NumberFormat


getVisible

getVisible(): boolean

Return visibility of the node

Returns

boolean

true if node is visible

Inherited from

LogPointSet.getVisible


getWorldTransform

getWorldTransform(): Transformation

Retrieves the local transformation of the node which represents multiplication of parent to bounds and contents transformations.

Returns

Transformation

Inherited from

LogPointSet.getWorldTransform


getWrapLineStyleHandler

getWrapLineStyleHandler(): WrapLineStyleHandlerCallback

Returns wrap line style handler

Returns

WrapLineStyleHandlerCallback

wrap style handler


getZIndex

getZIndex(): number

Returns node z-index (null if not set)

Returns

number

Inherited from

LogPointSet.getZIndex


hasCssClass

hasCssClass(cssClass): boolean

Check if node has specified css class

Parameters

Name Type Description
cssClassstringcss class name

Returns

boolean

Inherited from

LogPointSet.hasCssClass


hasEventListener

hasEventListener(type, callback?): boolean

Check if a list of event listeners for this type contains this listener

Parameters

Name Type Description
typestringtype of event or property
Optional callbackFunctionto be called, if null, check if any callback is registered

Returns

boolean

Inherited from

LogPointSet.hasEventListener


hitTest

hitTest(area, radius?): number[]

Hit test symbols of the curve in the device coordinates

Parameters

Name Type Description
areaPoint | Rectmodel area or position
Optional radiusnumberradius of selection

Returns

number[]

a collection of selected symbols indices


invalidate

invalidate(bounds?, force?): LogCurve

Invalidate area of the shape. This method invalidates parent by default. invalidated from parent to root node.

Parameters

Name Type Description
Optional boundsRectbounds of the invalid rectangle in the inner node coordinates
Optional forcebooleantrue if parent should be invalidated immediately if null is provided then cache (if any will be completely refreshed) otherwise only specified rect or node.bounds will be refreshed

Returns

LogCurve

this

Inherited from

LogPointSet.invalidate


invalidateParent

invalidateParent(bounds?, force?): LogCurve

Invalidate bounds

Parameters

Name Type Description
Optional boundsRectmodel bounds
Optional forcebooleanforce if null is provided then cache (if any will be completely refreshed) otherwise only specified rect or node.bounds will be refreshed

Returns

LogCurve

this

Inherited from

LogPointSet.invalidateParent


isAutoBounds

isAutoBounds(): boolean

Enable automatic bounds. If auto bounds is enabled then it equals to parent model limits

Returns

boolean

Inherited from

LogPointSet.isAutoBounds


isBarsRightAligned

isBarsRightAligned(): boolean

Returns true if value-bars right align is true

Returns

boolean


isClippingEnabled

isClippingEnabled(): boolean

Returns true if clipping is enabled

Returns

boolean


isCustomLimits

isCustomLimits(): boolean

Returns true if limits are custom

Returns

boolean


isDisposed

isDisposed(): boolean

Returns whether this object has been disposed

Returns

boolean

Inherited from

LogPointSet.isDisposed


isEventPropagationEnabled

isEventPropagationEnabled(): boolean

Return true if event propagation is enabled from child to parent

Returns

boolean

Inherited from

LogPointSet.isEventPropagationEnabled


isHorizontalFlip

isHorizontalFlip(): boolean

Return true if the representation is flipped horizontally

Returns

boolean

horizontal flip

Overrides

LogPointSet.isHorizontalFlip


isNormalizationEnabled

isNormalizationEnabled(): boolean

Returns true if normalization is enabled

Returns

boolean


isNotificationEnabled

isNotificationEnabled(): boolean

return state of notification

Returns

boolean

current notification state

Inherited from

LogPointSet.isNotificationEnabled


isSelectable

isSelectable(): boolean

Returns true if node can be picked/selected.

Returns

boolean

The selectable flag

Inherited from

LogPointSet.isSelectable


isSilent

isSilent(): boolean

Return true if the event dispatcher doesn't notify any events

Returns

boolean

Inherited from

LogPointSet.isSilent


isVisibleBar

isVisibleBar(): boolean

Returns true if value-bars are visible

Returns

boolean


isVisibleLine

isVisibleLine(): boolean

Returns true if line is visible (convenience method)

Returns

boolean


isVisibleNullValueSymbol

isVisibleNullValueSymbol(): boolean

Returns true if symbol to be used to draw markers for null value is visible

Returns

boolean


isVisibleSymbol

isVisibleSymbol(): boolean

Returns true if symbols are visible (convenience method)

Returns

boolean


isVisibleValue

isVisibleValue(): boolean

Returns true if values are visible (convenience method)

Returns

boolean


isWrapping

isWrapping(): boolean

Returns whether wrapping is enabled

Returns

boolean


notify

notify<E>(type, source, args?): LogCurve

Notify listeners of the Node

Type parameters

NameType
Eextends string

Parameters

Name Type Description
typeEtype of event
sourceLogCurvesource who called the event
Optional argsEventMap[E]event arguments

Returns

LogCurve

this

Overrides

LogPointSet.notify


off

off<E>(type?, callback?): LogCurve

Detach listener on event. Calling .off() with no arguments removes all attached listeners. Calling .off(type) with no callback removes all attached listeners for specific type.

Type parameters

NameType
Eextends string

Parameters

Name Type Description
Optional typeEtype of the event
Optional callback(eventType: E, sender: LogCurve, args: EventMap[E]) => voidfunction to be called

Returns

LogCurve

this

Overrides

LogPointSet.off


on

on<E>(type, callback): LogCurve

Attach listener on event that will be called whenever the specified event is delivered to the target

If the callback function is already in the list of event listeners for this target, the function is not added a second time.

If a particular anonymous function is in the list of event listeners registered for a certain target, and then later in the code, an identical anonymous function is given in an "on" call, the second function will also be added to the list of event listeners for that target.

Type parameters

NameType
Eextends string

Parameters

Name Type Description
typeEtype of event or property
callback(eventType: E, sender: LogCurve, args: EventMap[E]) => voidto be called

Returns

LogCurve

this

Overrides

LogPointSet.on


onHeaderSet

Protected onHeaderSet(name, headerInstance, silent?): void

This method is called if header is set. Send event Events.HeaderSet

Parameters

Name Type Description
namestringof the container. The 'header' and 'footer' is used.
headerInstanceLogVisualHeader<Node>the header instance
Optional silentbooleansilent node to avoid sending events that header is created

Returns

void

Inherited from

LogPointSet.onHeaderSet


onMicroPositionChanged

Protected onMicroPositionChanged(): LogCurve

calls when microPosition has been changed

Returns

LogCurve

this

Inherited from

LogPointSet.onMicroPositionChanged


onParentChanged

Protected onParentChanged(node): LogCurve

This method is called when parent changes. Do not call it directly.

Parameters

Name Type Description
nodeNodenode to change parent

Returns

LogCurve

this

Inherited from

LogPointSet.onParentChanged


onVisibilityChanged

Protected onVisibilityChanged(): void

This method is called if visibility is changed. Send event Events.VisibilityChanged

Returns

void

Inherited from

LogPointSet.onVisibilityChanged


postRendering

Protected postRendering(context): void

To be called after rendering. Call this method if you override method render

Parameters

Name Type Description
contextRenderingContextRendering Context

Returns

void

Inherited from

LogPointSet.postRendering


preRendering

Protected preRendering(context): void

Occurs before rendering this method sets clipping by default. Call this method if you override method render

Parameters

Name Type Description
contextRenderingContextRendering Context

Returns

void

Inherited from

LogPointSet.preRendering


registerAnimationStyle

registerAnimationStyle(root): void

Register animation style.

Parameters

Name Type Description
rootNoderoot node for node

Returns

void

Inherited from

LogPointSet.registerAnimationStyle


removeCssClass

removeCssClass(cssclass): LogCurve

Removes css class from node

Parameters

Name Type Description
cssclassstring | string[]css class name('s)

Returns

LogCurve

this

Inherited from

LogPointSet.removeCssClass


removeInvalidateHandler

removeInvalidateHandler(handler): LogCurve

Remove invalidate handler

Deprecated

since 4.0, use Node.off instead

Parameters

Name Type Description
handlerFunctionhandler to be notified about invalidation

Returns

LogCurve

this

Inherited from

LogPointSet.removeInvalidateHandler


render

render(context): void

Renders node

Parameters

Name Type Description
contextRenderingContextThe rendering context to be used to draw the node

Returns

void

Inherited from

LogPointSet.render


renderAsync

renderAsync(context, callback): void

Render node in asynchronous mode. Default implementation creates call method "render" inside

Parameters

Name Type Description
contextRenderingContextThe rendering context to be used to draw the node
callback() => voidcallback function

Returns

void

Inherited from

LogPointSet.renderAsync


renderContent

Protected renderContent(context): void

Renders node content

Parameters

Name Type Description
contextRenderingContextThe rendering context to be used to draw the node

Returns

void

Inherited from

LogPointSet.renderContent


resetClippingLimits

resetClippingLimits(): LogCurve

This method resets clipping limits

Returns

LogCurve

this


resetNormalizationLimits

resetNormalizationLimits(): LogCurve

This method resets custom normalization limits

Returns

LogCurve

this


rotate

rotate(theta, x, y): LogCurve

Rotate bounds around a given coordinate

Parameters

Name Type Description
thetanumberangle to rotate node, in radians
xnumberx coordinate to rotate around
ynumbery coordinate to rotate around

Returns

LogCurve

this

Inherited from

LogPointSet.rotate


scale

scale(xx, yy): LogCurve

Scale node

Parameters

Name Type Description
xxnumberx scale factor
yynumbery scale factor

Returns

LogCurve

this

Inherited from

LogPointSet.scale


setAnimationStyle

setAnimationStyle(animationStyle): LogCurve

Sets animation style

Parameters

Name Type Description
animationStyleTypeanimation style

Returns

LogCurve

Inherited from

LogPointSet.setAnimationStyle


setAutoBounds

setAutoBounds(enable): LogCurve

Enable or disable auto bounds If auto bounds is enabled then it equals to parent model limits

Parameters

Name Type Description
enablebooleanEnable or disable auto bounds

Returns

LogCurve

this

Inherited from

LogPointSet.setAutoBounds


setAutoLimitsStrategy

setAutoLimitsStrategy(strategy): LogCurve

Sets auto limits strategy

Parameters

Name Type Description
strategyLogCurveLimitsStrategystrategy to calculate auto limits

Returns

LogCurve

this


setBarLineStyle

setBarLineStyle(lineStyle, merge?): LogCurve

Helper method to set value-bars line style.

Parameters

Name Type Description
lineStyleTypeline style or options
Optional mergebooleantrue if you want to merge lineStyle with existing attribute, false by default

Returns

LogCurve

this


setBarsRightAligned

setBarsRightAligned(enable): LogCurve

Helper method to set alignment of value-bars to the right

Parameters

Name Type Description
enablebooleandefines if value-bars right align is true or false

Returns

LogCurve

this


setBaseName

setBaseName(name): LogCurve

Sets base name of the visual

Parameters

Name Type Description
namestringThe base name

Returns

LogCurve

this

Inherited from

LogPointSet.setBaseName


setBounds

setBounds(bounds): LogCurve

Sets bounds of the point set in the parent coordinates false

Parameters

Name Type Description
boundsRectbounds of the point set

Returns

LogCurve

this

Inherited from

LogPointSet.setBounds


setClipStyle

setClipStyle(style): LogCurve

Sets a new clipping style

Parameters

Name Type Description
styleGraphicsPath | ClipStyle | Optionsa new clipping style

Returns

LogCurve

this

Inherited from

LogPointSet.setClipStyle


setClippingLimits

setClippingLimits(minValue, maxValue, clippingType?): LogCurve

Sets Clipping limits of the data values. The data limits are used by default.

Parameters

Name Type Description
minValuenumberThis provides a way to specify min limit for clipping.
maxValuenumberThis provides a way to specify max limit for clipping.
Optional clippingTypeClippingTypeoptional clipping type

Returns

LogCurve

this


setCss

setCss(style, merge?): LogCurve

Sets CSS style. This style will be applied for all inserted elements

Parameters

Name Type Description
styleTypeCSS style to be applied to inserted elements
Optional mergebooleanmerge flag

Returns

LogCurve

this

Inherited from

LogPointSet.setCss


setCssClass

setCssClass(name): LogCurve

Sets css class name of the node to be used to apply CSS style

Parameters

Name Type Description
namestringcss class name of the node

Returns

LogCurve

this

Inherited from

LogPointSet.setCssClass


setCssTransform

setCssTransform(transform): LogCurve

Set CSS transformation

Parameters

Name Type Description
transformstring | Transformationtransformation css transformation instruction or Transformation instance

Returns

LogCurve

this

Inherited from

LogPointSet.setCssTransform


setData

setData(data?, resetNormalizationLimits?, autoUpdate?): LogCurve

Sets data source to be displayed.

Parameters

Name Type Description
Optional dataDatadata to display
Optional resetNormalizationLimitsbooleanresets custom normalization limits and take it from data. By default it is true
Optional autoUpdatebooleanautomatic update from data source. If it sets to true then curve listens on data changes from data source.

Returns

LogCurve


setDescription

setDescription(description): LogCurve

Sets the description

Parameters

Name Type Description
descriptionstringThe visual description

Returns

LogCurve

this

Inherited from

LogPointSet.setDescription


setDisplayMode

setDisplayMode(displayMode): LogCurve

Sets display mode

Parameters

Name Type Description
displayModestring[]display mode; an array with a combination of values: 'line', 'symbol', 'both', 'value', 'bar' or 'none'

Returns

LogCurve

this


setDisplayUnit

setDisplayUnit(unit): LogCurve

Sets display unit

Parameters

Name Type Description
unitstring | AbstractUnitdisplay unit like feet, meters etc

Returns

LogCurve

this


setDrawOutOfRangeValues

setDrawOutOfRangeValues(outOfRangeValues): LogCurve

Set state of rendering for out of range values

Parameters

Name Type Description
outOfRangeValuesbooleanvalue to set

Returns

LogCurve

this


setGapFillCutoffMode

setGapFillCutoffMode(cutoffMode): LogCurve

Set a flag how to process NaN samples in cutoff range

Parameters

Name Type Description
cutoffModeCutoffModemode, by default is CutoffMode.RemoveSample

Returns

LogCurve

this


setGapFillCutoffUnit

setGapFillCutoffUnit(unit): LogCurve

Sets the unit of the cutoff used for removing NaN valued samples. Gaps will only be 'filled' when the cutoff value is non zero and the unit is convertible to the index unit. If unit is not specified then curve index unit is used. if a depth or time interval is less than specified cutoff value then interval is connected and NaN values between are removed.

Parameters

Name Type Description
unitstring | AbstractUnitThe unit or unit symbol to use for the gap fill cutoff

Returns

LogCurve

this


setGapFillCutoffValue

setGapFillCutoffValue(cutoff, merge?): LogCurve

Sets the value of the cutoff used for removing NaN valued samples. Gaps will only be 'filled' when the cutoff value is non zero and the unit is convertible to the index unit.

Parameters

Name Type Description
cutoffstring | numberThe cutoff value. When non zero and a matching unit is set
Optional mergebooleantrue if you want to convert new value to existing unit

Returns

LogCurve

this


setGapUnit

setGapUnit(unit): LogCurve

Sets the unit of the gap to show discontinuity in sample when the cutoff value is non-zero and the unit is convertible to the index unit. If unit is not specified then curve index unit is used. if a depth or time interval is less than specified cutoff value then interval is connected and NaN values between are removed.

Parameters

Name Type Description
unitstring | AbstractUnitThe unit

Returns

LogCurve

this


setGapValue

setGapValue(value, merge?): LogCurve

Set the value of the gap. Value will be used to disconnect the sample if the distance between two samples in depth or time is more than specified value

Parameters

Name Type Description
valuestring | numberThe maximum discontinuity allowed in depth or time
Optional mergebooleantrue if you want to convert new value to existing unit

Returns

LogCurve

this


setGradientLineStyle

setGradientLineStyle(gradientLineStyle): LogCurve

Set log gradient style

Parameters

Name Type Description
gradientLineStyleLogGradientStylestyle

Returns

LogCurve

this


setHeader

setHeader(name, headerInstance, silent?): LogCurve

Sets header instance with specified name. This name usually defines header or footer.

Throws

if header name is null

Parameters

Name Type Description
namestringof the container. The 'header' and 'footer' is used.
headerInstanceLogVisualHeader<Node>the header instance
Optional silentbooleansilent node to avoid sending events that header is created

Returns

LogCurve

this

Inherited from

LogPointSet.setHeader


setHideOverlappedValues

setHideOverlappedValues(enable): LogCurve

Sets hide overlapped values

Parameters

Name Type Description
enablebooleanhide overlapped values

Returns

LogCurve

this


setHorizontalFlip

setHorizontalFlip(enable): LogCurve

Set horizontal flip of the representation

Parameters

Name Type Description
enablebooleanenable flip

Returns

LogCurve

this


setId

setId(id): LogCurve

Allows the user to associate any identifier

Parameters

Name Type Description
idstring | numberobject id

Returns

LogCurve

this

Inherited from

LogPointSet.setId


setInterpolationEdge

setInterpolationEdge(interpolationEdge): LogCurve

Set edge values interpolation type in case of properties.limitstype==LimitsType.Manual

Parameters

Name Type Description
interpolationEdgeInterpolationEdgeedge values interpolation type

Returns

LogCurve

this


setInterpolationType

setInterpolationType(interpolationType): LogCurve

Sets interpolation type

Parameters

Name Type Description
interpolationTypeInterpolationTypeinterpolation type

Returns

LogCurve

this


setLineStyle

setLineStyle(lineStyle, merge?): LogCurve

Sets line style

Parameters

Name Type Description
lineStyleTypeThe style in which the line is displayed object can be in format of constructor of LineStyle
Optional mergebooleantrue if you want to merge lineStyle with existing attribute, false by default

Returns

LogCurve

this

Inherited from

LogPointSet.setLineStyle


setLocalTransform

setLocalTransform(localTransform, force?): LogCurve

Sets local transformation to be used to transform from local to parent coordinate

Parameters

Name Type Description
localTransformTransformationlocal transformation for this node
Optional forcebooleanboolean flag to force update event if transformations are equal, false by default

Returns

LogCurve

this

Inherited from

LogPointSet.setLocalTransform


setMarginsStyle

setMarginsStyle(margins, merge?): LogCurve

Sets margins style

Parameters

Name Type Description
marginsType<string | number>margins style
Optional mergebooleantrue if you want to merge marginsStyle with existing attribute, false by default

Returns

LogCurve

this

Inherited from

LogPointSet.setMarginsStyle


setMaxWraps

setMaxWraps(count): LogCurve

Sets maximum count of wraps for wrap interpolation

Throws

if count is less then zero

Parameters

Name Type Description
countnumbercount of wraps

Returns

LogCurve

this


setMicroPosition

setMicroPosition(left, right): LogCurve

Sets micro position (0 - 1). It allows application code to display the visual in a subarea of the track.
By default log visuals uses all space of the trace in the horizontal direction, but micro position allows to place log visual in the specified position of the track in horizontal direction. See example below

Example

// The following code places curve 20% from left and 20% from right.
curve.setMicroPosition(0.2,0.8);

Parameters

Name Type Description
leftnumberleft position
rightnumberright position

Returns

LogCurve

this

Inherited from

LogPointSet.setMicroPosition


setName

setName(name): LogCurve

Sets name of the node

Parameters

Name Type Description
namestringThe node name

Returns

LogCurve

this

Inherited from

LogPointSet.setName


setNeatLogLimits

setNeatLogLimits(centerOnZeroOnNegativeMin): LogCurve

Sets neat log limits

Parameters

Name Type Description
centerOnZeroOnNegativeMinbooleancenter the limits

Returns

LogCurve

this


setNormalizationLimits

setNormalizationLimits(minValue, maxValue?, interpolationEdge?): LogCurve

Sets normalization limits of the data values. The data limits are used by default.

Example

curve.setNormalizationLimits(100, 130); // It means that each sample value that is less than 100 should have value 100, Same for 130

Parameters

Name Type Description
minValuenumber | Rangemin value which can be specified for normalization
Optional maxValuenumbermax value which can be specified for normalization
Optional interpolationEdgeInterpolationEdgeedge values interpolation type, edge interpolation type does not change if it was not specified

Returns

LogCurve

this


setNotification

setNotification(notify, force?): LogCurve

set notification state

Parameters

Name Type Description
notifybooleanflag set to invalidate parent or not
Optional forcebooleantrue if parent should be invalidated immediately

Returns

LogCurve

this

Inherited from

LogPointSet.setNotification


setNullValueSymbol

setNullValueSymbol(symbol): LogCurve

Sets symbol to be used to render markers for null value

Parameters

Name Type Description
symbolSymbolShapesymbol used at the start and end of the gap(null value)

Returns

LogCurve

this


setOpacity

setOpacity(opacity, blendMode?): LogCurve

Sets node opacity

Parameters

Name Type Description
opacitynumbernode opacity from 0 to 1
Optional blendModeBlendModeopacity blend mode. If it is normal, opacity will be replaced.

Returns

LogCurve

this

Inherited from

LogPointSet.setOpacity


setOptimizationBar

setOptimizationBar(needOptimize?): LogCurve

Turns on/off optimization for bars

Parameters

Name Type Description
Optional needOptimizebooleanIs optimization for bars on

Returns

LogCurve

this


setOptimizationCurve

setOptimizationCurve(needOptimize?): LogCurve

Turns on/off optimization for curve

Parameters

Name Type Description
Optional needOptimizebooleanIs optimization for curve on

Returns

LogCurve

this


setOptimizationSymbol

setOptimizationSymbol(needOptimize?): LogCurve

Turns on/off optimization for symbols

Parameters

Name Type Description
Optional needOptimizebooleanIs optimization for symbols on

Returns

LogCurve

this


setOptimizationType

setOptimizationType(optimizationType): LogCurve

Sets optimization type

Parameters

Name Type Description
optimizationTypeOptimizationTypeoptimization type which used with current curve

Returns

LogCurve

this


setOptimizationValue

setOptimizationValue(needOptimize?): LogCurve

Turns on/off optimization for values

Parameters

Name Type Description
Optional needOptimizebooleanIs optimization for values on

Returns

LogCurve

this


setProperties

setProperties(properties?): LogCurve

Sets all the properties pertaining to this object

Parameters

Name Type Description
Optional propertiesOptionsAn object containing the properties to set

Returns

LogCurve

this

Overrides

LogPointSet.setProperties


setProperty

setProperty(name, value): LogCurve

Sets dynamic property by name

Parameters

Name Type Description
namestringproperty name
valueanyproperty value

Returns

LogCurve

this

Inherited from

LogPointSet.setProperty


setReferenceCurve

setReferenceCurve(referenceCurve): LogCurve

Set reference curve

Parameters

Name Type Description
referenceCurveLogCurve | LogReferenceLinereference curve

Returns

LogCurve

this


setRenderingFilter

setRenderingFilter(filter): LogCurve

Sets filter to be applied before rendering and picking

Parameters

Name Type Description
filterIFilterfilter to set

Returns

LogCurve

this

Inherited from

LogPointSet.setRenderingFilter


setResponsiveStyle

setResponsiveStyle(style): LogCurve

Sets responsive style.

Parameters

Name Type Description
styleOptions | ResponsiveStyleresponsive style

Returns

LogCurve

this

Inherited from

LogPointSet.setResponsiveStyle


setScaleScrollStrategy

setScaleScrollStrategy(strategy?): LogCurve

Sets scale scroll strategy

Parameters

Name Type Description
Optional strategyDelegatescale scroll strategy

Returns

LogCurve

this

Inherited from

LogPointSet.setScaleScrollStrategy


setScaleType

setScaleType(type): LogCurve

Sets scale type. This applies function to data values.

Parameters

Name Type Description
typeScaleTypescale type

Returns

LogCurve

this


setSelectable

setSelectable(selectable): LogCurve

Allows to select node. If node is not selectable then child node is not selectable.

Parameters

Name Type Description
selectablebooleanflag to allow node selection

Returns

LogCurve

this

Inherited from

LogPointSet.setSelectable


setSilent

setSilent(bool): LogCurve

Set silent mode

Parameters

Name Type Description
boolbooleanflag to enable silent mode

Returns

LogCurve

this

Inherited from

LogPointSet.setSilent


setSymbol

setSymbol(symbol): LogCurve

Sets symbol to be used to render markers

Parameters

Name Type Description
symbolSymbolShape | Optionssymbols to be used for markers

Returns

LogCurve

this


setSymbolDecimationDistance

setSymbolDecimationDistance(distance): LogCurve

Sets symbol decimation distance

Parameters

Name Type Description
distancenumberminimum distance between symbols' centers in device coordinates

Returns

LogCurve

this


setSymbolDecimationStep

setSymbolDecimationStep(step): LogCurve

Sets symbol decimation step

Parameters

Name Type Description
stepnumberrange to skip the symbols

Returns

LogCurve

this


setSymbolFormatter

setSymbolFormatter(symbolFormatter): LogCurve

Set symbol formatter

Example

curve.setSymbolFormatter(function (symbol, sample) {
symbol.setPainter(sample.getOriginalValue() > 70 ? CirclePainter : DiamondPainter);
if (sample.getOriginalValue() < 60) {
symbol.getFillStyle().setColor('red');
} else if (sample.getOriginalValue() > 80) {
symbol.getFillStyle().setColor('green');
} else {
symbol.getFillStyle().setColor('blue');
}
return symbol;
});

Parameters

Name Type Description
symbolFormatterSymbolFormatterCallbackformatter to be used to adjust symbol

Returns

LogCurve


setSymbolOptimizationType

setSymbolOptimizationType(optimizationType): LogCurve

Sets optimization type

Parameters

Name Type Description
optimizationTypeSymbolOptimizationTypeoptimization type which used with current symbols

Returns

LogCurve

this


setSymbolSkipIntersectionRatio

setSymbolSkipIntersectionRatio(symbolSkipIntersectionRatio): LogCurve

Sets symbol's skip intersection ratio

Parameters

Name Type Description
symbolSkipIntersectionRationumbervalue to set

Returns

LogCurve


setSymbolsGap

setSymbolsGap(symbolsGap): LogCurve

Set symbol gap

Parameters

Name Type Description
symbolsGapnumber | Dimensionsymbol gap

Returns

LogCurve

this


setTag

setTag(tag): LogCurve

Allows the user to associate any arbitrary object with the node.

Parameters

Name Type Description
taganyThe object to be associated with the node.

Returns

LogCurve

this

Inherited from

LogPointSet.setTag


setTextAnchorType

setTextAnchorType(anchorType): LogCurve

Sets text anchor type

Throws

if anchorType value is not valid

Parameters

Name Type Description
anchorTypeAnchorTypeposition to place the anchor

Returns

LogCurve


setTextAutoAlignment

setTextAutoAlignment(enabled): LogCurve

Enable / disable automatic text alignment for text values, which intersects border of the track If it is enabled text is shifted inside the track. By default it is false.

Parameters

Name Type Description
enabledbooleanenable automatic text alignment

Returns

LogCurve

this


setTextAutoAlignmentOffset

setTextAutoAlignmentOffset(offset): LogCurve

Set text offset from anchor for automatic text alignment

Parameters

Name Type Description
offsetnumber | Point | Optionstext offset for automatic text alignment

Returns

LogCurve

this


setTextDecimationStep

setTextDecimationStep(step): LogCurve

Sets text decimation step

Parameters

Name Type Description
stepnumberrange to skip while decimating

Returns

LogCurve


setTextReference

setTextReference(textReference): LogCurve

Sets text reference. Accepted values: 'curve', 'track' or 'sample'.

Parameters

Name Type Description
textReferenceTextReferencesets textreference 'curve', 'track' or 'sample'.

Returns

LogCurve

this


setTextStyle

setTextStyle(textStyle, merge?): LogCurve

Sets text style

Parameters

Name Type Description
textStyleTypea new shape text style
Optional mergebooleantrue if you want to merge textStyle with existing attribute, false by default

Returns

LogCurve


setValueFormat

setValueFormat(format): LogCurve

Sets formatter to be used to format values

Parameters

Name Type Description
formatOptions | DecimalFormatnumber formatter

Returns

LogCurve

this


setVisible

setVisible(value): LogCurve

Sets visibility of the node. Send event Events.VisibilityChanged

Parameters

Name Type Description
valuebooleanflag specifying visibility of the node

Returns

LogCurve

this

Inherited from

LogPointSet.setVisible


setVisibleBar

setVisibleBar(enable): LogCurve

Helper method to set up value-bars visibility.

Parameters

Name Type Description
enablebooleanvalue-bars visibility on or off

Returns

LogCurve

this


setVisibleLine

setVisibleLine(enable): LogCurve

Helper method to setup line visibility

Parameters

Name Type Description
enablebooleanvisibility of the line

Returns

LogCurve

this


setVisibleNullValueSymbol

setVisibleNullValueSymbol(visible): LogCurve

Display or hide null values symbols

Parameters

Name Type Description
visiblebooleanvisible null value symbols

Returns

LogCurve

this


setVisibleSymbol

setVisibleSymbol(enable): LogCurve

Helper method to set up symbols visibility

Parameters

Name Type Description
enablebooleansymbols visibility on or off

Returns

LogCurve

this


setVisibleValue

setVisibleValue(enable): LogCurve

Helper method to set up values visibility.

Parameters

Name Type Description
enablebooleanvalues visibility on or off

Returns

LogCurve

this


setWrapLineStyleHandler

setWrapLineStyleHandler(wrapLineStyleHandler): LogCurve

Set wrap line style handler. Custom colors can be set for different wrap levels, please refer to example below.

Example

import {LineStyle} from '@int/geotoolkit/attributes/LineStyle';
curve
.setClippingLimits(60, 90)
.setWrapping(true)
.setMaxWraps(1)
.setWrapLineStyleHandler((sender, wrapLevel) => {
if (wrapLevel < 0) {
return new LineStyle('blue');
}
if (wrapLevel > 0) {
return new LineStyle('red');
}
return null;
}));

Parameters

Name Type Description
wrapLineStyleHandlerWrapLineStyleHandlerCallbackhandler should return LineStyle

Returns

LogCurve

this


setWrapping

setWrapping(wrapping): LogCurve

Sets whether wrapping is enabled.

Example

import {LogCurve} from '@int/geotoolkit/welllog/LogCurve';
// if you enable wrapping, you also need to specify ClippingLimits
const logCurve = new LogCurve()
.setWrapping(true)
.setClippingLimits(0, 100);

Parameters

Name Type Description
wrappingbooleanwrapping on or off, based on if you want to see the clipped part of the track or not

Returns

LogCurve

this


setZIndex

setZIndex(value): LogCurve

Sets z-index for node (set null for default)

Parameters

Name Type Description
valuenumberindex determining node z-position

Returns

LogCurve

this

Inherited from

LogPointSet.setZIndex


shear

shear(shx, shy): LogCurve

Shear this node's bounds

Parameters

Name Type Description
shxnumberx-axis shear
shynumbery-axis shear

Returns

LogCurve

this

Inherited from

LogPointSet.shear


toString

toString(): string

Returns a string representation of this object (generally the classname)

Returns

string

A string representation

Inherited from

LogPointSet.toString


translate

translate(tx, ty): LogCurve

Translate bounds

Parameters

Name Type Description
txnumberx translation
tynumbery translation

Returns

LogCurve

this

Inherited from

LogPointSet.translate


unregisterAnimationStyle

unregisterAnimationStyle(root): void

Unregister animation style.

Parameters

Name Type Description
rootNoderoot node for node

Returns

void

Inherited from

LogPointSet.unregisterAnimationStyle


updateFromData

updateFromData(rect?, args?, silent?): LogCurve

Synchronize state from data

Parameters

Name Type Description
Optional rectRectoptional area to invalidate
Optional argsLogDataEventevent arguments
Optional silentbooleansilent default is false, set it to true if do now want to rise notification

Returns

LogCurve


updateSceneTransformation

updateSceneTransformation(): LogCurve

Update scene transformation

Returns

LogCurve

this

Inherited from

LogPointSet.updateSceneTransformation


updateState

updateState(regions?, changes?): LogCurve

Update state

Parameters

Name Type Description
Optional regionsRect[]optional array to return invalid rectangles
Optional changesStateChangesoptional parameter to specify a reason of changes

Returns

LogCurve

this

Overrides

LogPointSet.updateState


updateTimeStamp

Protected updateTimeStamp(): LogCurve

Update time stamp to indicate that Node or Children has been changed.

Returns

LogCurve

this

Inherited from

LogPointSet.updateTimeStamp


convertOptimizationTypeValue

Static convertOptimizationTypeValue(optimizationType): OptimizationType

Converts optimization type value

Parameters

Name Type Description
optimizationTypeOptimizationTypeoptimization type

Returns

OptimizationType


enableSceneGraphNotification

Static enableSceneGraphNotification(enabled): void

Enable / disable all notifications

Parameters

Name Type Description
enabledbooleansets if this object sends notifications

Returns

void

Inherited from

LogPointSet.enableSceneGraphNotification


findParent

Static findParent<T>(node, classType, filter?): InstanceType<T>

Find root of the node with specified type

Type parameters

NameType
Textends Constructor<any>

Parameters

Name Type Description
nodeNodenode to start search
classTypeTtype of the class to search for
Optional filter(node: Node) => booleanadditional filter to apply

Returns

InstanceType<T>

Inherited from

LogPointSet.findParent

Static findParent(node, classType, filter?): Node

Find root of the node with specified type

Parameters

Name Type Description
nodeNodenode to start search
classTypestringinterface name to search for
Optional filter(node: Node) => booleanadditional filter to apply

Returns

Node

Inherited from

LogPointSet.findParent


getClassName

Static getClassName(): string

Returns

string

Inherited from

LogPointSet.getClassName


isSceneGraphNotificationEnabled

Static isSceneGraphNotificationEnabled(): boolean

Return status of the global notification for all nodes.

Returns

boolean

Inherited from

LogPointSet.isSceneGraphNotificationEnabled