API / geotoolkit / welllog / CompositeLogCurve / CompositeLogCurve
welllog.CompositeLogCurve.CompositeLogCurve
Creates the custom representation of a well log curve with optional left and right fill. Data is passed in an LogAbstractData. It uses LogCurve internally. Please refer to WellLog Widget Visuals Tutorial ( Composite curve fill section) for an example.
↳
CompositeLogCurve
Constructors
| [new CompositeLogCurve(data, autoUpdate)](/solutions/geotoolkit/apis/classes/geotoolkit.welllog.compositelogcurve.compositelogcurve.md#new compositelogcurve(data, autoupdate)) | [new CompositeLogCurve(params)](/solutions/geotoolkit/apis/classes/geotoolkit.welllog.compositelogcurve.compositelogcurve.md#new compositelogcurve(params)) |
|---|
Accessors
Methods
Css Properties
| Name | Type | Description |
|---|---|---|
autobounds | boolean | Enables or disables auto bounds |
autoupdate | boolean | Automatic update from datasource. If true, curve listens to data changes from source |
barlinestyle | string | Value-bar line style |
barlinestyle | LineStyle | Value-bar line style |
barlinestyle-color | string | Color in CSS form |
barlinestyle-fill | string | Optional fill style to be used to fill lines generated with this style |
barlinestyle-fill | FillStyle | Optional fill style to be used to fill lines generated with this style |
barlinestyle-fill-color | string | Color in CSS form |
barlinestyle-fill-evenoddmode | boolean | Even-odd fill mode |
barlinestyle-fill-fillpattern | Pattern | Pattern |
barlinestyle-fill-fillpattern-containername | string | An 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-patternname | string | Name of this pattern for indexing |
barlinestyle-fill-fillpattern-scalable | boolean | Flag that sets scalability of the pattern coordinates, or relative to the shape it is filling (It is not supported) |
barlinestyle-fill-foreground | string | Foreground color |
barlinestyle-fill-pattern | Pattern | Pattern |
barlinestyle-linecap | CapStyle | The line cap style |
barlinestyle-linedashoffset | number | Line dash offset of dashed line |
barlinestyle-linejoin | JoinStyle | The line join style |
barlinestyle-pixelsnapmode | boolean | Pixel Snap Mode, default( |
barlinestyle-scalable | boolean | True if width should depend on transformation |
barlinestyle-unit | string | Optional unit for the width |
barlinestyle-width | number | string | The line thickness |
basename | string | The base name |
bounds | Rect | The rectangle specifying position of the visual in the track. If set, autobounds will be switched off |
bounds-height | number | Height |
bounds-readonly | boolean | Readonly |
bounds-width | number | Width |
bounds-x | number | Left |
bounds-y | number | Top |
centeronzeroonnegativemin | boolean | Flag set to center the limits |
cliplimitsmax | number | Max clipping limits |
cliplimitsmin | number | Min clipping limits |
clipping | boolean | Flag to enable clipping |
clipstyle | ClipStyle | Clipping style |
clipstyle-evenodd | boolean | True if evenodd mode is on ('nonzero' mode otherwise) |
clipstyle-geometry | GraphicsPath | Clipping geometry |
clipstyle-geometry-bounds | Rect | Bounds |
clipstyle | GraphicsPath | Clipping style |
cssclass | string | The css class name of this node |
csscursor | string | CSS cursor associated with node |
cssstyle | string | CSS style to be applied to inserted elements |
description | string | The description |
displayunit | string | Display unit |
gradientlinestyle | LogGradientStyle | Gradient line style |
gradientlinestyle-color | string | Color in CSS form |
gradientlinestyle-colorprovider | string | Color provider |
gradientlinestyle-colorprovider | ColorProvider | Color provider |
gradientlinestyle-colorprovider-max | number | |
gradientlinestyle-colorprovider-min | number | |
gradientlinestyle-colorprovider-scale | KnownScales | |
gradientlinestyle-colorrange | Range | Color range (min and max value) |
gradientlinestyle-colorrange-high | number | Upper range boundary |
gradientlinestyle-colorrange-low | number | Lower range boundary |
gradientlinestyle-colorrange-max | number | |
gradientlinestyle-colorrange-min | number | |
gradientlinestyle-datasource | string | Log data id |
gradientlinestyle-evenoddmode | boolean | Even-odd fill mode |
gradientlinestyle-fillpattern | Pattern | Pattern |
gradientlinestyle-foreground | string | Foreground color |
gradientlinestyle-normalize | boolean | Normalize data value to color space, default true |
gradientlinestyle-pattern | Pattern | Pattern |
gradientlinestyle-renderbackground | boolean | Extra style parameter for background fill |
gradientlinestyle-renderforeground | boolean | Extra style parameter for foreground fill. Normally to render patterns |
gradientlinestyle-transparency | number | Value for alpha chanel |
hideoverlappedvalues | boolean | Hide overlapped value |
horizontalflip | boolean | Horizontal flip |
id | string | number | Id of the node, its a unique identifier |
interpolationedge | InterpolationEdge | Edge values interpolation type in case of properties.limitstype==LimitsType.Manual |
interpolationtype | InterpolationType | Interpolation type |
leftfill | LogFill | Left fill |
leftfill-autobounds | boolean | Enables or disables auto bounds |
leftfill-basename | string | The base name |
leftfill-bounds | Rect | The rectangle specifying position of the visual in the track. If set, autobounds will be switched off |
leftfill-clipstyle | ClipStyle | Clipping style |
leftfill-clipstyle | GraphicsPath | Clipping style |
leftfill-cssclass | string | The css class name of this node |
leftfill-csscursor | string | CSS cursor associated with node |
leftfill-cssstyle | string | CSS style to be applied to inserted elements |
leftfill-curve1 | number | Left point set |
leftfill-curve1 | LogCurve | Left point set |
leftfill-curve1-autobounds | boolean | Enables or disables auto bounds |
leftfill-curve1-autoupdate | boolean | Automatic update from datasource. If true, curve listens to data changes from source |
leftfill-curve1-barlinestyle | string | Value-bar line style |
leftfill-curve1-barlinestyle | LineStyle | Value-bar line style |
leftfill-curve1-basename | string | The base name |
leftfill-curve1-bounds | Rect | The rectangle specifying position of the visual in the track. If set, autobounds will be switched off |
leftfill-curve1-centeronzeroonnegativemin | boolean | Flag set to center the limits |
leftfill-curve1-cliplimitsmax | number | Max clipping limits |
leftfill-curve1-cliplimitsmin | number | Min clipping limits |
leftfill-curve1-clipping | boolean | Flag to enable clipping |
leftfill-curve1-clipstyle | ClipStyle | Clipping style |
leftfill-curve1-clipstyle | GraphicsPath | Clipping style |
leftfill-curve1-cssclass | string | The css class name of this node |
leftfill-curve1-csscursor | string | CSS cursor associated with node |
leftfill-curve1-cssstyle | string | CSS style to be applied to inserted elements |
leftfill-curve1-description | string | The description |
leftfill-curve1-displayunit | string | Display unit |
leftfill-curve1-gradientlinestyle | LogGradientStyle | Gradient line style |
leftfill-curve1-hideoverlappedvalues | boolean | Hide overlapped value |
leftfill-curve1-horizontalflip | boolean | Horizontal flip |
leftfill-curve1-id | string | number | Id of the node, its a unique identifier |
leftfill-curve1-interpolationedge | InterpolationEdge | Edge values interpolation type in case of properties.limitstype==LimitsType.Manual |
leftfill-curve1-interpolationtype | InterpolationType | Interpolation type |
leftfill-curve1-limitsmax | number | Max limits value in case of data.limitstype==LimitsType.Manual |
leftfill-curve1-limitsmin | number | Min limits value in case of data.limitstype==LimitsType.Manual |
leftfill-curve1-limitstype | LimitsType | Limits type |
leftfill-curve1-linestyle | string | Linestyle |
leftfill-curve1-linestyle | LineStyle | Linestyle |
leftfill-curve1-localtransform | Transformation | Local transformation |
leftfill-curve1-localtransform-dx | number | X axis translation |
leftfill-curve1-localtransform-dy | number | Y axis translation |
leftfill-curve1-localtransform-xx | number | X scale |
leftfill-curve1-localtransform-xy | number | Xy skew |
leftfill-curve1-localtransform-yx | number | Yx skew |
leftfill-curve1-localtransform-yy | number | Y scale |
leftfill-curve1-margins | number | string | It has properties for specifying the margins for each side |
leftfill-curve1-maxwraps | number | Maximum count of wraps (by default 5) |
leftfill-curve1-microposleft | number | Left micro position |
leftfill-curve1-microposright | number | Right micro position |
leftfill-curve1-name | string | Name of the node. It is often used for debugging purposes or to simplify queries |
leftfill-curve1-nullvaluesymbol | SymbolShape | Null value symbol |
leftfill-curve1-nullvaluesymbol-alignment | AnchorType | Alignment according to the anchor point |
leftfill-curve1-nullvaluesymbol-alignment | AnchorType | Anchor type of symbol |
leftfill-curve1-nullvaluesymbol-ax | number | Anchor x position |
leftfill-curve1-nullvaluesymbol-ay | number | Anchor y position |
leftfill-curve1-nullvaluesymbol-cache | boolean | Set it to true if you want to cache complex geometry to raster |
leftfill-curve1-nullvaluesymbol-clipstyle | ClipStyle | Clipping style |
leftfill-curve1-nullvaluesymbol-clipstyle | GraphicsPath | Clipping style |
leftfill-curve1-nullvaluesymbol-cssclass | string | The css class name of this node |
leftfill-curve1-nullvaluesymbol-csscursor | string | CSS cursor associated with node |
leftfill-curve1-nullvaluesymbol-cssstyle | string | CSS style to be applied to inserted elements |
leftfill-curve1-nullvaluesymbol-fillstyle | string | Style applied on fill |
leftfill-curve1-nullvaluesymbol-fillstyle | FillStyle | Style applied on fill |
leftfill-curve1-nullvaluesymbol-height | number | Shape height |
leftfill-curve1-nullvaluesymbol-id | string | number | Id of the node, its a unique identifier |
leftfill-curve1-nullvaluesymbol-ispointingup | boolean | Defines whether the shape is always pointing up |
leftfill-curve1-nullvaluesymbol-layoutstyle | LayoutStyle | Layout style to specify how to lay out shape |
leftfill-curve1-nullvaluesymbol-layoutstyle-constraint | SizeConstraint | Layout constrains |
leftfill-curve1-nullvaluesymbol-layoutstyle-flexgrow | number | Number specifying how much the item will grow relative to the rest of the items inside the same container |
leftfill-curve1-nullvaluesymbol-layoutstyle-flexshrink | number | Number specifying how much the item will shrink relative to the rest of the items inside the same container |
leftfill-curve1-nullvaluesymbol-layoutstyle-float | string | Float position |
leftfill-curve1-nullvaluesymbol-layoutstyle-position | string | Layout position |
leftfill-curve1-nullvaluesymbol-layoutstyle-size | number | string | Layout size |
leftfill-curve1-nullvaluesymbol-linestyle | string | Style applied on outline |
leftfill-curve1-nullvaluesymbol-linestyle | LineStyle | Style applied on outline |
leftfill-curve1-nullvaluesymbol-localtransform | Transformation | Local transformation |
leftfill-curve1-nullvaluesymbol-margins | number | string | It has properties for specifying the margins for each side |
leftfill-curve1-nullvaluesymbol-maxdimension | Dimension | Maximum size for rendering |
leftfill-curve1-nullvaluesymbol-maxdimension-height | number | Height of dimension |
leftfill-curve1-nullvaluesymbol-maxdimension-width | number | Width of dimension or properties |
leftfill-curve1-nullvaluesymbol-mindimension | Dimension | Minimum size for rendering |
leftfill-curve1-nullvaluesymbol-name | string | Name of the node. It is often used for debugging purposes or to simplify queries |
leftfill-curve1-nullvaluesymbol-opacity | number | Node opacity (from 0 to 1). If it is undefined or null it inherits property from the parent. It changes globalAlpha on the rendering context |
leftfill-curve1-nullvaluesymbol-opacityblendmode | BlendMode | Node opacity mode to blend it |
leftfill-curve1-nullvaluesymbol-painter | string | A function with has parameters: symbol, box, context |
leftfill-curve1-nullvaluesymbol-painterproperties | any | Symbol's painter's properties |
leftfill-curve1-nullvaluesymbol-preserveaspectratio | boolean | Preserve aspect ratio of the anchored shape |
leftfill-curve1-nullvaluesymbol-preservereadingorientation | boolean | Preserve reading orientation for local transform |
leftfill-curve1-nullvaluesymbol-preserverightangle | boolean | Preserve right angle for local transformation |
leftfill-curve1-nullvaluesymbol-rotationangle | number | Rotation angle at anchor |
leftfill-curve1-nullvaluesymbol-scalescrollstrategy | ScaleScrollStrategy | Scale scroll strategy |
leftfill-curve1-nullvaluesymbol-scalescrollstrategy-enabled | boolean | Enable flag |
leftfill-curve1-nullvaluesymbol-selectable | boolean | Selectable node, a boolean to determine if selection should consider this node |
leftfill-curve1-nullvaluesymbol-sizeisindevicespace | boolean | Is coordinate in device space |
leftfill-curve1-nullvaluesymbol-tag | any | Custom 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 |
leftfill-curve1-nullvaluesymbol-transform | string | Additional CSS transformation applied to node or 'none' |
leftfill-curve1-nullvaluesymbol-transform | Transformation | Additional CSS transformation applied to node or 'none' |
leftfill-curve1-nullvaluesymbol-useminmaxdimensions | boolean | Use the min max dimensions to limit visual size |
leftfill-curve1-nullvaluesymbol-visible | boolean | Visibility of the node, a boolean to determine if the node should be rendered or not |
leftfill-curve1-nullvaluesymbol-width | number | Shape width |
leftfill-curve1-nullvaluesymbol-z-index | number | Define node z-index |
leftfill-curve1-nullvaluesymbolvisible | boolean | Flag to change visibility of null value symbol |
leftfill-curve1-opacity | number | Node opacity (from 0 to 1). If it is undefined or null it inherits property from the parent. It changes globalAlpha on the rendering context |
leftfill-curve1-opacityblendmode | BlendMode | Node opacity mode to blend it |
leftfill-curve1-optimization | boolean | Optimization flags |
leftfill-curve1-outofrangevalues | boolean | Outofrangevalues flag |
leftfill-curve1-scalescrollstrategy | ScaleScrollStrategy | Scale scroll strategy |
leftfill-curve1-scaletype | ScaleType | Values scale type |
leftfill-curve1-selectable | boolean | Selectable node, a boolean to determine if selection should consider this node |
leftfill-curve1-symbol | SymbolShape | Symbol to be used |
leftfill-curve1-symboldecimationdistance | number | Symbol decimation distance |
leftfill-curve1-symboldecimationstep | number | Symbol decimation step or level |
leftfill-curve1-symbolgap | number | Symbol gap |
leftfill-curve1-symbolgap | Dimension | Symbol gap |
leftfill-curve1-tag | any | Custom 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 |
leftfill-curve1-textautoalignment | boolean | Automatic text alignment for text values, which intersects border of the track |
leftfill-curve1-textautoalignmentoffset | number | Text offset from anchor for automatic text alignment |
leftfill-curve1-textautoalignmentoffset | Point | Text offset from anchor for automatic text alignment |
leftfill-curve1-textautoalignmentoffset-x | number | X coordinate |
leftfill-curve1-textautoalignmentoffset-y | number | Y coordinate |
leftfill-curve1-textdecimationstep | number | Text decimation step |
leftfill-curve1-textreference | TextReference | Type of the text to be put on the track |
leftfill-curve1-textstyle | string | Text style |
leftfill-curve1-textstyle | TextStyle | Text style |
leftfill-curve1-textstyle-alignment | AlignmentStyle | Alignment |
leftfill-curve1-textstyle-autosize | boolean | Auto font size on high definition display |
leftfill-curve1-textstyle-background | string | Background style |
leftfill-curve1-textstyle-background | FillStyle | Background style |
leftfill-curve1-textstyle-baseline | BaseLineStyle | Base line |
leftfill-curve1-textstyle-color | string | Color in CSS form |
leftfill-curve1-textstyle-fill | FillStyle | Text fill style |
leftfill-curve1-textstyle-font | string | Font see |
leftfill-curve1-textstyle-fonturl | string | The place from which the font will be loaded, if null - uses system fonts. It can be base64 with url keyword |
leftfill-curve1-textstyle-lineheight | string | number | Line height |
leftfill-curve1-textstyle-multiline | boolean | Allow multi-line text |
leftfill-curve1-textstyle-outline | string | Outline style |
leftfill-curve1-textstyle-outline | LineStyle | Outline style |
leftfill-curve1-textstyle-overflowwrap | OverflowWrapStyle | Overflow wrap |
leftfill-curve1-textstyle-strikethrough | string | Strikethrough style |
leftfill-curve1-textstyle-strikethrough | LineStyle | Strikethrough style |
leftfill-curve1-textstyle-textoverflow | TextOverflowStyle | Text overflow |
leftfill-curve1-textstyle-underline | string | Underline style |
leftfill-curve1-textstyle-underline | LineStyle | Underline style |
leftfill-curve1-textstyle-underlineoffset | string | number | Underline offset distance |
leftfill-curve1-textstyle-whitespace | WhiteSpaceStyle | White space |
leftfill-curve1-textstyle-wordbreak | WordBreakStyle | Word break |
leftfill-curve1-transform | string | Additional CSS transformation applied to node or 'none' |
leftfill-curve1-transform | Transformation | Additional CSS transformation applied to node or 'none' |
leftfill-curve1-visible | boolean | Visibility of the node, a boolean to determine if the node should be rendered or not |
leftfill-curve1-wrapping | boolean | Flag to enable wrapping based on if you want to see the clipped part of the track or not |
leftfill-curve1-z-index | number | Define node z-index |
leftfill-curve1 | LogReferenceLine | Left point set |
leftfill-curve1-autobounds | boolean | Enables or disables auto bounds |
leftfill-curve1-basename | string | The base name |
leftfill-curve1-bounds | Rect | The rectangle specifying position of the visual in the track. If set, autobounds will be switched off |
leftfill-curve1-clipstyle | ClipStyle | Clipping style |
leftfill-curve1-clipstyle | GraphicsPath | Clipping style |
leftfill-curve1-cssclass | string | The css class name of this node |
leftfill-curve1-csscursor | string | CSS cursor associated with node |
leftfill-curve1-cssstyle | string | CSS style to be applied to inserted elements |
leftfill-curve1-curve | LogCurve | Reference curve |
leftfill-curve1-description | string | The description |
leftfill-curve1-id | string | number | Id of the node, its a unique identifier |
leftfill-curve1-level | number | Current level of wrap interpolation |
leftfill-curve1-linestyle | string | Linestyle |
leftfill-curve1-linestyle | LineStyle | Linestyle |
leftfill-curve1-localtransform | Transformation | Local transformation |
leftfill-curve1-margins | number | string | It has properties for specifying the margins for each side |
leftfill-curve1-microposleft | number | Left micro position |
leftfill-curve1-microposright | number | Right micro position |
leftfill-curve1-name | string | Name of the node. It is often used for debugging purposes or to simplify queries |
leftfill-curve1-opacity | number | Node opacity (from 0 to 1). If it is undefined or null it inherits property from the parent. It changes globalAlpha on the rendering context |
leftfill-curve1-opacityblendmode | BlendMode | Node opacity mode to blend it |
leftfill-curve1-scalescrollstrategy | ScaleScrollStrategy | Scale scroll strategy |
leftfill-curve1-selectable | boolean | Selectable node, a boolean to determine if selection should consider this node |
leftfill-curve1-tag | any | Custom 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 |
leftfill-curve1-transform | string | Additional CSS transformation applied to node or 'none' |
leftfill-curve1-transform | Transformation | Additional CSS transformation applied to node or 'none' |
leftfill-curve1-type | ReferenceType | Reference model type |
leftfill-curve1-value | number | Current value in track coordinates. by default from 0 to 1 |
leftfill-curve1-visible | boolean | Visibility of the node, a boolean to determine if the node should be rendered or not |
leftfill-curve1-z-index | number | Define node z-index |
leftfill-curve2 | number | Right point set |
leftfill-curve2 | LogCurve | Right point set |
leftfill-curve2 | LogReferenceLine | Right point set |
leftfill-description | string | The description |
leftfill-fillstyle | string | Fillstyle |
leftfill-fillstyle | FillStyle | Fillstyle |
leftfill-filltype | FillType | Filltype |
leftfill-id | string | number | Id of the node, its a unique identifier |
leftfill-leftfillstyle | string | Fillstyle for left part |
leftfill-leftfillstyle | FillStyle | Fillstyle for left part |
leftfill-linestyle | string | Linestyle |
leftfill-linestyle | LineStyle | Linestyle |
leftfill-localtransform | Transformation | Local transformation |
leftfill-margins | number | string | It has properties for specifying the margins for each side |
leftfill-microposleft | number | Left micro position |
leftfill-microposright | number | Right micro position |
leftfill-name | string | Name of the node. It is often used for debugging purposes or to simplify queries |
leftfill-negativefillstyle | string | Fill style to be used to fill negative areas |
leftfill-negativefillstyle | FillStyle | Fill style to be used to fill negative areas |
leftfill-opacity | number | Node opacity (from 0 to 1). If it is undefined or null it inherits property from the parent. It changes globalAlpha on the rendering context |
leftfill-opacityblendmode | BlendMode | Node opacity mode to blend it |
leftfill-positivefillstyle | string | Fill style to be used to positive areas |
leftfill-positivefillstyle | FillStyle | Fill style to be used to positive areas |
leftfill-rightfillstyle | string | Fillstyle for right part |
leftfill-rightfillstyle | FillStyle | Fillstyle for right part |
leftfill-scalescrollstrategy | ScaleScrollStrategy | Scale scroll strategy |
leftfill-selectable | boolean | Selectable node, a boolean to determine if selection should consider this node |
leftfill-tag | any | Custom 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 |
leftfill-transform | string | Additional CSS transformation applied to node or 'none' |
leftfill-transform | Transformation | Additional CSS transformation applied to node or 'none' |
leftfill-visible | boolean | Visibility of the node, a boolean to determine if the node should be rendered or not |
leftfill-z-index | number | Define node z-index |
leftfilltype | FillType | Type of the left fill |
leftreferencepointset | LogCurve | Left referencepointset point set |
leftreferencepointset | LogReferenceLine | Left referencepointset point set |
limitsmax | number | Max limits value in case of data.limitstype==LimitsType.Manual |
limitsmin | number | Min limits value in case of data.limitstype==LimitsType.Manual |
limitstype | LimitsType | Limits type |
linestyle | string | Linestyle |
linestyle | LineStyle | Linestyle |
localtransform | Transformation | Local transformation |
margins | number | string | It has properties for specifying the margins for each side |
maxwraps | number | Maximum count of wraps (by default 5) |
microposleft | number | Left micro position |
microposright | number | Right micro position |
name | string | Name of the node. It is often used for debugging purposes or to simplify queries |
nullvaluesymbol | SymbolShape | Null value symbol |
nullvaluesymbolvisible | boolean | Flag to change visibility of null value symbol |
opacity | number | Node opacity (from 0 to 1). If it is undefined or null it inherits property from the parent. It changes globalAlpha on the rendering context |
opacityblendmode | BlendMode | Node opacity mode to blend it |
optimization | boolean | Optimization flags |
outofrangevalues | boolean | Outofrangevalues flag |
referencecurve | LogCurve | Reference curve |
rightfill | LogFill | Right fill |
rightfilltype | FillType | Type of the right fill |
rightreferencepointset | LogCurve | Right referencepointset point set |
rightreferencepointset | LogReferenceLine | Right referencepointset point set |
scalescrollstrategy | ScaleScrollStrategy | Scale scroll strategy |
scaletype | ScaleType | Values scale type |
selectable | boolean | Selectable node, a boolean to determine if selection should consider this node |
symbol | SymbolShape | Symbol to be used |
symboldecimationdistance | number | Symbol decimation distance |
symboldecimationstep | number | Symbol decimation step or level |
symbolgap | number | Symbol gap |
symbolgap | Dimension | Symbol gap |
tag | any | Custom 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 |
textautoalignment | boolean | Automatic text alignment for text values, which intersects border of the track |
textautoalignmentoffset | number | Text offset from anchor for automatic text alignment |
textautoalignmentoffset | Point | Text offset from anchor for automatic text alignment |
textdecimationstep | number | Text decimation step |
textreference | TextReference | Type of the text to be put on the track |
textstyle | string | Text style |
textstyle | TextStyle | Text style |
transform | string | Additional CSS transformation applied to node or 'none' |
transform | Transformation | Additional CSS transformation applied to node or 'none' |
visible | boolean | Visibility of the node, a boolean to determine if the node should be rendered or not |
wrapping | boolean | Flag to enable wrapping based on if you want to see the clipped part of the track or not |
z-index | number | Define node z-index |
Constructors
• new CompositeLogCurve(data?, autoUpdate?)
Constructor
| Name | Type | Description |
|---|---|---|
Optional data | LogAbstractData | data source to be displayed |
Optional autoUpdate | boolean | automatic update from data |
LogCurve.constructor
• new CompositeLogCurve(params?)
Constructor
| Name | Type |
|---|---|
Optional params | Options |
LogCurve.constructor
Accessors
• Static get DefaultClippingType(): ClippingType
Default Clipping type
LogCurve.DefaultClippingType
Methods
▸ Protected _getDisplayMode(): DisplayMode
Returns display mode
▸ Protected _setDisplayMode(displayMode): CompositeLogCurve
Sets display mode
| Name | Type | Description |
|---|---|---|
displayMode | DisplayMode | display mode |
this
▸ addCssClass(cssclass): CompositeLogCurve
Adds new css class to node
| Name | Type | Description |
|---|---|---|
cssclass | string | string[] | css class name('s) |
this
▸ addInvalidateHandler(handler): CompositeLogCurve
Add invalidate handler
Deprecated
since 4.0, use Node.on instead
| Name | Type | Description |
|---|---|---|
handler | Function | handler to be notified about invalidation |
this
▸ Protected applyOpacity(context): CompositeLogCurve
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
| Name | Type | Description |
|---|---|---|
context | RenderingContext | Rendering Context |
this
▸ Protected applyResponsiveStyle(): void
Apply a responsive style rules it is exists
void
▸ checkCollision(context): boolean
Check culling. Returns true if object is inside of renderable area
| Name | Type | Description |
|---|---|---|
context | RenderingContext | Rendering Context |
boolean
▸ clone(): CompositeLogCurve
All subclasses should override copyConstructor or provide custom implementation for this method
clone
▸ connectStyle(style, type, callback): CompositeLogCurve
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
| Name | Type | Description |
|---|---|---|
style | EventDispatcher | connect style |
type | string | type of event or property |
callback | AttributeCallback<EventDispatcher> | function to be called |
this
▸ 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.
| Name | Type | Description |
|---|---|---|
v | number | curve value |
number
a data value
LogCurve.convertCurveToDataValue
▸ 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.
| Name | Type | Description |
|---|---|---|
v | number | data value |
Optional d | number | data depth |
number
a curve value
LogCurve.convertDataToCurveValue
▸ Protected copyConstructor(src, deepCopy?): CompositeLogCurve
Copy constructor function.
Function used as part of the cloning mechanism.
Implementations should copy the given instance state to this instance.
| Name | Type | Description |
|---|---|---|
src | CompositeLogCurve | Source to copy from |
Optional deepCopy | boolean | deep copy |
this
▸ disconnectStyle(style, type, callback): CompositeLogCurve
Disconnect style
This convenience method un-subscribes a listener to given style for the specified type.
| Name | Type | Description |
|---|---|---|
style | EventDispatcher | connect style |
type | string | type of event or property |
callback | AttributeCallback<EventDispatcher> | function to be called |
this
▸ 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.
void
▸ enableEventPropagation(enable): CompositeLogCurve
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();| Name | Type | Description |
|---|---|---|
enable | boolean | enable |
this
LogCurve.enableEventPropagation
▸ execute(delegate): CompositeLogCurve
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");
});| Name | Type | Description |
|---|---|---|
delegate | (this: CompositeLogCurve) => void | Function to execute |
The result if any or this
▸ execute<T>(delegate): T
| Name |
|---|
T |
| Name | Type |
|---|---|
delegate | (this: CompositeLogCurve) => T |
T
▸ Protected filter(context): boolean
Filter node
| Name | Type | Description |
|---|---|---|
context | RenderingContext | Rendering Context |
boolean
flag filter flag ("true" to render node; "false" otherwise)
▸ getAnimationStyle(): AnimationStyle
Return animation style
animationStyle current animation style
▸ getAutoLimitsStrategy(): LogCurveLimitsStrategy
Return auto limits strategy. If it is null then default logic will be used depending on limits type
LogCurve.getAutoLimitsStrategy
▸ getBarLineStyle(): LineStyle
Helper method to get value-bars line style
▸ getBaseName(): string
Returns the base name
string
The base name
▸ getBounds(): Rect
Return curve bounds
▸ getClassName(): string
string
▸ getClipStyle(): ClipStyle
Gets the current clipping style
clipping style
▸ getContentsTransform(): Transformation
Retrieves the world transformation of the spatial
▸ getCss(): CssStyle
Return CSS style
▸ getCssClass(): string
Returns css class name to be used to apply CSS style
string
the css class name
▸ getCssClasses(): string[]
Gets list of css class names which applied to this node
string[]
▸ getCssTransform(): string
Returns CSS transformation
string
▸ getDataLimits(fullLimits?): Rect
Return meaning data limits
| Name | Type | Description |
|---|---|---|
Optional fullLimits | boolean | default value is false |
▸ getDataRange(fromDepth, toDepth, transformation?): AbstractScaledData
Returns data range
| Name | Type | Description |
|---|---|---|
fromDepth | number | from depth |
toDepth | number | to depth |
Optional transformation | Transformation | transformation |
data range
▸ getDataSource(): LogAbstractData
Returns WellLog Data
▸ getDescription(): string
Gets the description
string
The description
▸ getDisplayMode(): string[]
Returns display mode
string[]
any combination of values: 'line', 'symbol', 'value', 'bar', 'fill' or an empty array
▸ getDisplayUnit(): AbstractUnit
Returns display unit
▸ getDrawOutOfRangeValues(): boolean
Returns true if zero is a valid value in logarithmic mode
boolean
LogCurve.getDrawOutOfRangeValues
▸ getGapFillCutoffMode(): CutoffMode
Return cutoff mode
▸ getGapFillCutoffUnit(): AbstractUnit
Returns the unit of the cutoff used for removing NaN valued samples
The cutoff unit
▸ getGapFillCutoffValue(): number
Returns the value of the cutoff used for removing NaN valued samples
number
The cutoff value
LogCurve.getGapFillCutoffValue
▸ getGapUnit(): AbstractUnit
Returns the unit of the gap
The cutoff unit
▸ getGapValue(): number
Returns The maximum discontinuity allowed in depth or time
number
value
▸ getGradientLineStyle(): LogGradientStyle
Returns log gradient style
log gradient style
▸ getHeader(name): LogVisualHeader<Node>
Return the header registered by the name
| Name | Type | Description |
|---|---|---|
name | string | header name |
header
▸ getHeaders(): Record<string, LogVisualHeader<Node>>
Return an object that contains all headers registered with the visual
Record<string, LogVisualHeader<Node>>
headers
▸ getHideOverlappedValues(): boolean
Gets hide overlapped values flag
boolean
hide overlapped values
LogCurve.getHideOverlappedValues
▸ getId(): string | number
Returns the associated identifier of the node
string | number
The node's id
▸ getInterpolationEdge(): InterpolationEdge
Returns edge values interpolation type
▸ getInterpolationType(): InterpolationType
Returns interpolation type
▸ Protected getInvalidateMethod(): AttributeCallback<EventDispatcher>
Gets invalidate method
AttributeCallback<EventDispatcher>
method to invalidate this object
▸ getLeftFill(): LogFill
Return left fill
▸ getLeftFillType(): FillType
returns the left fill type
▸ getLeftReferencePointSet(): LogCurve | LogReferenceLine
Sets reference point set
▸ getLimitsType(): LimitsType
Returns limits type
▸ getLineStyle(): LineStyle
Returns line style
▸ getLocalTransform(): Transformation
Retrieves the transformation of bounds to parent
transform the local transform.
▸ getMarginsStyle(): SpaceStyle<string | number>
Return margins style
SpaceStyle<string | number>
▸ getMaxWraps(): number
Returns maximum count of the wraps
number
▸ getMaximumClippingLimit(): number
Returns maximum clipping limit
number
LogCurve.getMaximumClippingLimit
▸ getMaximumNormalizationLimit(): number
Returns maximum normalization limit
number
LogCurve.getMaximumNormalizationLimit
▸ getMicroPositionLeft(): number
Returns micro position left
number
▸ getMicroPositionRight(): number
Returns micro position right
number
LogCurve.getMicroPositionRight
▸ Protected getMicroPositionTransformation(): Transformation
Returns micro position transformation
micro position transformation
LogCurve.getMicroPositionTransformation
▸ getMinimumClippingLimit(): number
Returns minimum clipping limit
number
LogCurve.getMinimumClippingLimit
▸ getMinimumNormalizationLimit(): number
Returns minimum normalization limit
number
LogCurve.getMinimumNormalizationLimit
▸ getModelLimits(): Rect
Returns model limits
▸ getName(): string
Returns the node name
string
The node name
▸ getNearestSampleIndex(pt, maxDistance?, transformation?): number
Return nearest original sample index from data source by device point
| Name | Type | Description |
|---|---|---|
pt | Point | device point to find index of the sample |
Optional maxDistance | number | maximum distance in pixels from the current point |
Optional transformation | Transformation | transformation of curve to device. If it is not specified, getSceneTransform() is used. |
number
index of the sample. if data is not specified or sample is nof found it returns -1
LogCurve.getNearestSampleIndex
▸ getNeatLogLimits(): boolean
Gets the value of centerOnZeroOnNegativeMin property
boolean
▸ getNullValueSymbol(): SymbolShape
Returns symbol to be used to draw markers for null value
▸ getOpacity(): number
Returns current node opacity
number
opacity
▸ getOpacityBlendMode(): BlendMode
Returns current node opacity
opacity blend mode
▸ getOptimizationBar(): boolean
Returns bars optimization flag
boolean
▸ getOptimizationCurve(): boolean
Returns curve optimization flag
boolean
▸ getOptimizationSymbol(): boolean
Returns symbol optimization flag
boolean
LogCurve.getOptimizationSymbol
▸ getOptimizationValue(): boolean
Returns values optimization flag
boolean
▸ getParent(): Node
Return parent node
parent node
▸ getProperties(): OptionsOut
Gets all the properties pertaining to this object
▸ getProperty(name): any
Gets dynamic property by name. These properties can be used as a property bags
| Name | Type | Description |
|---|---|---|
name | string | property name |
any
▸ getPropertyKeys(): string[]
Returns known properties keys
string[]
▸ getReferenceCurve(): LogCurve | LogReferenceLine
Returns reference curve
reference curve
▸ getRenderingFilter(): IFilter
Return filter to be used for rendering and picking
current filter
▸ getResponsiveStyle(): ResponsiveStyle
Return responsive style
▸ getRightFill(): LogFill
Return right fill
▸ getRightFillType(): FillType
returns the right fill type
▸ getRightReferencePointSet(): LogCurve | LogReferenceLine
returns the reference point set
▸ getRoot(): Node
Returns root node.
If node doesn't have parent then it returns itself.
the root node
▸ getScaleScrollStrategy(): Delegate
Gets scale scroll strategy
scale scroll strategy
LogCurve.getScaleScrollStrategy
▸ getScaleType(): ScaleType
Returns current scale type.
▸ getScaledData(transformation?): AbstractScaledData
Returns scaled data
| Name | Type | Description |
|---|---|---|
Optional transformation | Transformation | transformation |
▸ getSceneTransform(): Transformation
Returns transformation from node to root scene
a transformation from node to root scene
▸ getSymbol(): SymbolShape
Returns symbol to be used to draw markers
▸ getSymbolDecimationDistance(): number
Returns symbol decimation distance
number
LogCurve.getSymbolDecimationDistance
▸ getSymbolDecimationStep(): number
Returns symbol decimation step
number
LogCurve.getSymbolDecimationStep
▸ getSymbolFormatter(): SymbolFormatterCallback
Return symbol formatter
▸ getSymbolsGap(): Dimension
Returns symbols gap
▸ getSymbolsSkipIntersectionRatio(): number
Gets symbols' skip intersection ratio
number
LogCurve.getSymbolsSkipIntersectionRatio
▸ getTag(): any
Returns the object associated with the node by user.
any
The node's user-object
▸ getTextAnchorType(): AnchorType
Gets text anchor type
▸ getTextAutoAlignment(): boolean
Gets status if automatic text alignment is enabled for text values which intersect border of the track
boolean
enable enable automatic text alignment
▸ getTextAutoAlignmentOffset(): Point
Gets text offset from anchor for automatic text alignment
text offset for automatic text alignment
LogCurve.getTextAutoAlignmentOffset
▸ getTextDecimationStep(): number
Returns text decimation step
number
LogCurve.getTextDecimationStep
▸ getTextReference(): TextReference
Gets sample's text reference type: 'track' or 'sample'
▸ getTextStyle(): TextStyle
Gets text style
▸ getTrack(): ITrack
Returns parent track if LogTrack
▸ getValue(depth): number
Returns interpolated value
| Name | Type | Description |
|---|---|---|
depth | number | depth |
number
▸ getValueDataLimits(): Range
Returns original data value limits
▸ getValueFormat(): NumberFormat
Returns formatter to format values
▸ getVisible(): boolean
Return visibility of the node
boolean
true if node is visible
▸ getWorldTransform(): Transformation
Retrieves the local transformation of the node which represents multiplication of parent to bounds and contents transformations.
▸ getWrapLineStyleHandler(): WrapLineStyleHandlerCallback
Returns wrap line style handler
wrap style handler
LogCurve.getWrapLineStyleHandler
▸ getZIndex(): number
Returns node z-index (null if not set)
number
▸ hasCssClass(cssClass): boolean
Check if node has specified css class
| Name | Type | Description |
|---|---|---|
cssClass | string | css class name |
boolean
▸ hasEventListener(type, callback?): boolean
Check if a list of event listeners for this type contains this listener
| Name | Type | Description |
|---|---|---|
type | string | type of event or property |
Optional callback | Function | to be called, if null, check if any callback is registered |
boolean
▸ hitTest(area, radius?): number[]
Hit test symbols of the curve in the device coordinates
| Name | Type | Description |
|---|---|---|
area | Point | Rect | model area or position |
Optional radius | number | radius of selection |
number[]
a collection of selected symbols indices
▸ invalidate(bounds?, force?): CompositeLogCurve
Invalidate area of the shape. This method invalidates parent by default. invalidated from parent to root node.
| Name | Type | Description |
|---|---|---|
Optional bounds | Rect | bounds of the invalid rectangle in the inner node coordinates |
Optional force | boolean | true 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 |
this
▸ invalidateParent(bounds?, force?): CompositeLogCurve
Invalidate bounds
| Name | Type | Description |
|---|---|---|
Optional bounds | Rect | model bounds |
Optional force | boolean | force if null is provided then cache (if any will be completely refreshed) otherwise only specified rect or node.bounds will be refreshed |
this
▸ isAutoBounds(): boolean
Enable automatic bounds. If auto bounds is enabled then it equals to parent model limits
boolean
▸ isBarsRightAligned(): boolean
Returns true if value-bars right align is true
boolean
▸ isClippingEnabled(): boolean
Returns true if clipping is enabled
boolean
▸ isCustomLimits(): boolean
Returns true if limits are custom
boolean
▸ isDisposed(): boolean
Returns whether this object has been disposed
boolean
▸ isEventPropagationEnabled(): boolean
Return true if event propagation is enabled from child to parent
boolean
LogCurve.isEventPropagationEnabled
▸ isHorizontalFlip(): boolean
Return true if the representation is flipped horizontally
boolean
horizontal flip
▸ isNormalizationEnabled(): boolean
Returns true if normalization is enabled
boolean
LogCurve.isNormalizationEnabled
▸ isNotificationEnabled(): boolean
return state of notification
boolean
current notification state
LogCurve.isNotificationEnabled
▸ isSelectable(): boolean
Returns true if node can be picked/selected.
boolean
The selectable flag
▸ isSilent(): boolean
Return true if the event dispatcher doesn't notify any events
boolean
▸ isVisibleBar(): boolean
Returns true if value-bars are visible
boolean
▸ isVisibleFill(): boolean
Returns true if value-fills are visible
boolean
▸ isVisibleLine(): boolean
Returns true if line is visible (convenience method)
boolean
▸ isVisibleNullValueSymbol(): boolean
Returns true if symbol to be used to draw markers for null value is visible
boolean
LogCurve.isVisibleNullValueSymbol
▸ isVisibleSymbol(): boolean
Returns true if symbols are visible (convenience method)
boolean
▸ isVisibleValue(): boolean
Returns true if values are visible (convenience method)
boolean
▸ isWrapping(): boolean
Returns whether wrapping is enabled
boolean
▸ notify<E>(event, source, args?): CompositeLogCurve
| Name | Type |
|---|---|
E | extends string |
| Name | Type | Description |
|---|---|---|
event | E | broadcast event |
source | LogAbstractVisual | who is initializing this event |
Optional args | EventMap[E] | additional parameter |
▸ off<E>(type?, callback?): CompositeLogCurve
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.
| Name | Type |
|---|---|
E | extends string |
| Name | Type | Description |
|---|---|---|
Optional type | E | type of the event |
Optional callback | (eventType: E, sender: CompositeLogCurve, args: EventMap[E]) => void | function to be called |
this
▸ on<E>(type, callback): CompositeLogCurve
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.
| Name | Type |
|---|---|
E | extends string |
| Name | Type | Description |
|---|---|---|
type | E | type of event or property |
callback | (eventType: E, sender: CompositeLogCurve, args: EventMap[E]) => void | to be called |
this
▸ Protected onHeaderSet(name, headerInstance, silent?): void
This method is called if header is set. Send event Events.HeaderSet
| Name | Type | Description |
|---|---|---|
name | string | of the container. The 'header' and 'footer' is used. |
headerInstance | LogVisualHeader<Node> | the header instance |
Optional silent | boolean | silent node to avoid sending events that header is created |
void
▸ Protected onMicroPositionChanged(): CompositeLogCurve
calls when microPosition has been changed
this
LogCurve.onMicroPositionChanged
▸ Protected onParentChanged(node): CompositeLogCurve
This method is called when parent changes. Do not call it directly.
| Name | Type | Description |
|---|---|---|
node | Node | node to change parent |
this
▸ Protected onVisibilityChanged(): void
This method is called if visibility is changed. Send event Events.VisibilityChanged
void
▸ Protected postRendering(context): void
To be called after rendering. Call this method if you override method render
| Name | Type | Description |
|---|---|---|
context | RenderingContext | Rendering Context |
void
▸ Protected preRendering(context): void
Occurs before rendering this method sets clipping by default. Call this method if you override method render
| Name | Type | Description |
|---|---|---|
context | RenderingContext | Rendering Context |
void
▸ registerAnimationStyle(root): void
Register animation style.
| Name | Type | Description |
|---|---|---|
root | Node | root node for node |
void
LogCurve.registerAnimationStyle
▸ removeCssClass(cssclass): CompositeLogCurve
Removes css class from node
| Name | Type | Description |
|---|---|---|
cssclass | string | string[] | css class name('s) |
this
▸ removeInvalidateHandler(handler): CompositeLogCurve
Remove invalidate handler
Deprecated
since 4.0, use Node.off instead
| Name | Type | Description |
|---|---|---|
handler | Function | handler to be notified about invalidation |
this
LogCurve.removeInvalidateHandler
▸ render(context): void
Renders node
| Name | Type | Description |
|---|---|---|
context | RenderingContext | The rendering context to be used to draw the node |
void
▸ renderAsync(context, callback): void
Render node in asynchronous mode. Default implementation creates call method "render" inside
| Name | Type | Description |
|---|---|---|
context | RenderingContext | The rendering context to be used to draw the node |
callback | () => void | callback function |
void
▸ Protected renderContent(context): void
Renders node content
| Name | Type | Description |
|---|---|---|
context | RenderingContext | The rendering context to be used to draw the node |
void
▸ resetClippingLimits(): CompositeLogCurve
This method resets clipping limits
this
▸ resetNormalizationLimits(): CompositeLogCurve
This method resets custom normalization limits
this
LogCurve.resetNormalizationLimits
▸ rotate(theta, x, y): CompositeLogCurve
Rotate bounds around a given coordinate
| Name | Type | Description |
|---|---|---|
theta | number | angle to rotate node, in radians |
x | number | x coordinate to rotate around |
y | number | y coordinate to rotate around |
this
▸ scale(xx, yy): CompositeLogCurve
Scale node
| Name | Type | Description |
|---|---|---|
xx | number | x scale factor |
yy | number | y scale factor |
this
▸ setAnimationStyle(animationStyle): CompositeLogCurve
Sets animation style
| Name | Type | Description |
|---|---|---|
animationStyle | Type | animation style |
▸ setAutoBounds(enable): CompositeLogCurve
Enable or disable auto bounds If auto bounds is enabled then it equals to parent model limits
| Name | Type | Description |
|---|---|---|
enable | boolean | Enable or disable auto bounds |
this
▸ setAutoLimitsStrategy(strategy): CompositeLogCurve
Sets auto limits strategy
| Name | Type | Description |
|---|---|---|
strategy | LogCurveLimitsStrategy | strategy to calculate auto limits |
this
LogCurve.setAutoLimitsStrategy
▸ setBarLineStyle(lineStyle, merge?): CompositeLogCurve
Helper method to set value-bars line style.
| Name | Type | Description |
|---|---|---|
lineStyle | Type | line style or options |
Optional merge | boolean | true if you want to merge lineStyle with existing attribute, false by default |
this
▸ setBarsRightAligned(enable): CompositeLogCurve
Helper method to set alignment of value-bars to the right
| Name | Type | Description |
|---|---|---|
enable | boolean | defines if value-bars right align is true or false |
this
▸ setBaseName(name): CompositeLogCurve
Sets base name of the visual
| Name | Type | Description |
|---|---|---|
name | string | The base name |
this
▸ setBounds(bounds): CompositeLogCurve
Sets bounds of the point set in the parent coordinates false
| Name | Type | Description |
|---|---|---|
bounds | Rect | bounds of the point set |
this
▸ setClipStyle(style): CompositeLogCurve
Sets a new clipping style
| Name | Type | Description |
|---|---|---|
style | GraphicsPath | ClipStyle | Options | a new clipping style |
this
▸ setClippingLimits(minValue, maxValue, clippingType?): CompositeLogCurve
Sets Clipping limits of the data values. The data limits are used by default.
| Name | Type | Description |
|---|---|---|
minValue | number | This provides a way to specify min limit for clipping. |
maxValue | number | This provides a way to specify max limit for clipping. |
Optional clippingType | ClippingType | optional clipping type |
this
▸ setCss(style, merge?): CompositeLogCurve
Sets CSS style. This style will be applied for all inserted elements
| Name | Type | Description |
|---|---|---|
style | Type | CSS style to be applied to inserted elements |
Optional merge | boolean | merge flag |
this
▸ setCssClass(name): CompositeLogCurve
Sets css class name of the node to be used to apply CSS style
| Name | Type | Description |
|---|---|---|
name | string | css class name of the node |
this
▸ setCssTransform(transform): CompositeLogCurve
Set CSS transformation
| Name | Type | Description |
|---|---|---|
transform | string | Transformation | transformation css transformation instruction or Transformation instance |
this
▸ setData(data?, resetNormalizationLimits?, autoUpdate?): CompositeLogCurve
Sets data source to be displayed.
| Name | Type | Description |
|---|---|---|
Optional data | Data | data to display |
Optional resetNormalizationLimits | boolean | resets custom normalization limits and take it from data. By default it is true |
Optional autoUpdate | boolean | automatic update from data source. If it sets to true then curve listens on data changes from data source. |
▸ setDescription(description): CompositeLogCurve
Sets the description
| Name | Type | Description |
|---|---|---|
description | string | The visual description |
this
▸ setDisplayMode(displayMode): CompositeLogCurve
Sets display mode
| Name | Type | Description |
|---|---|---|
displayMode | string[] | display mode; an array with a combination of values: 'line', 'symbol', 'both', 'value', 'bar', 'fill' or 'none' |
this
▸ setDisplayUnit(unit): CompositeLogCurve
Sets display unit
| Name | Type | Description |
|---|---|---|
unit | string | AbstractUnit | display unit like feet, meters etc |
this
▸ setDrawOutOfRangeValues(outOfRangeValues): CompositeLogCurve
Set state of rendering for out of range values
| Name | Type | Description |
|---|---|---|
outOfRangeValues | boolean | value to set |
this
LogCurve.setDrawOutOfRangeValues
▸ setGapFillCutoffMode(cutoffMode): CompositeLogCurve
Set a flag how to process NaN samples in cutoff range
| Name | Type | Description |
|---|---|---|
cutoffMode | CutoffMode | mode, by default is CutoffMode.RemoveSample |
this
▸ setGapFillCutoffUnit(unit): CompositeLogCurve
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.
| Name | Type | Description |
|---|---|---|
unit | string | AbstractUnit | The unit or unit symbol to use for the gap fill cutoff |
this
▸ setGapFillCutoffValue(cutoff, merge?): CompositeLogCurve
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.
| Name | Type | Description |
|---|---|---|
cutoff | string | number | The cutoff value. When non zero and a matching unit is set |
Optional merge | boolean | true if you want to convert new value to existing unit |
this
LogCurve.setGapFillCutoffValue
▸ setGapUnit(unit): CompositeLogCurve
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.
| Name | Type | Description |
|---|---|---|
unit | string | AbstractUnit | The unit |
this
▸ setGapValue(value, merge?): CompositeLogCurve
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
| Name | Type | Description |
|---|---|---|
value | string | number | The maximum discontinuity allowed in depth or time |
Optional merge | boolean | true if you want to convert new value to existing unit |
this
▸ setGradientLineStyle(gradientLineStyle): CompositeLogCurve
Set log gradient style
| Name | Type | Description |
|---|---|---|
gradientLineStyle | LogGradientStyle | style |
this
▸ setHeader(name, headerInstance, silent?): CompositeLogCurve
Sets header instance with specified name. This name usually defines header or footer.
Throws
if header name is null
| Name | Type | Description |
|---|---|---|
name | string | of the container. The 'header' and 'footer' is used. |
headerInstance | LogVisualHeader<Node> | the header instance |
Optional silent | boolean | silent node to avoid sending events that header is created |
this
▸ setHideOverlappedValues(enable): CompositeLogCurve
Sets hide overlapped values
| Name | Type | Description |
|---|---|---|
enable | boolean | hide overlapped values |
this
LogCurve.setHideOverlappedValues
▸ setHorizontalFlip(enable): CompositeLogCurve
Set horizontal flip of the representation
| Name | Type | Description |
|---|---|---|
enable | boolean | enable flip |
this
▸ setId(id): CompositeLogCurve
Allows the user to associate any identifier
| Name | Type | Description |
|---|---|---|
id | string | number | object id |
this
▸ setInterpolationEdge(interpolationEdge): CompositeLogCurve
Set edge values interpolation type in case of properties.limitstype==LimitsType.Manual
| Name | Type | Description |
|---|---|---|
interpolationEdge | InterpolationEdge | edge values interpolation type |
this
▸ setInterpolationType(interpolationType): CompositeLogCurve
Sets interpolation type
| Name | Type | Description |
|---|---|---|
interpolationType | InterpolationType | interpolation type |
this
▸ setLeftFill(fill): CompositeLogCurve
Sets left fill
| Name | Type | Description |
|---|---|---|
fill | LogFill | left fill |
▸ setLeftFillType(type): CompositeLogCurve
Sets fill type
| Name | Type | Description |
|---|---|---|
type | FillType | type of the fill |
▸ setLeftReferencePointSet(reference): CompositeLogCurve
Sets reference point set to fill to the left
| Name | Type | Description |
|---|---|---|
reference | number | LogCurve | LogReferenceLine | Options | reference point set |
▸ setLineStyle(lineStyle, merge?): CompositeLogCurve
Sets line style
| Name | Type | Description |
|---|---|---|
lineStyle | Type | The style in which the line is displayed object can be in format of constructor of LineStyle |
Optional merge | boolean | true if you want to merge lineStyle with existing attribute, false by default |
this
▸ setLocalTransform(localTransform, force?): CompositeLogCurve
Sets local transformation to be used to transform from local to parent coordinate
| Name | Type | Description |
|---|---|---|
localTransform | Transformation | local transformation for this node |
Optional force | boolean | boolean flag to force update event if transformations are equal, false by default |
this
▸ setMarginsStyle(margins, merge?): CompositeLogCurve
Sets margins style
| Name | Type | Description |
|---|---|---|
margins | Type<string | number> | margins style |
Optional merge | boolean | true if you want to merge marginsStyle with existing attribute, false by default |
this
▸ setMaxWraps(count): CompositeLogCurve
Sets maximum count of wraps for wrap interpolation
Throws
if count is less then zero
| Name | Type | Description |
|---|---|---|
count | number | count of wraps |
this
▸ setMicroPosition(left, right): CompositeLogCurve
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);| Name | Type | Description |
|---|---|---|
left | number | left position |
right | number | right position |
this
▸ setName(name): CompositeLogCurve
Sets name of the node
| Name | Type | Description |
|---|---|---|
name | string | The node name |
this
▸ setNeatLogLimits(centerOnZeroOnNegativeMin): CompositeLogCurve
Sets neat log limits
| Name | Type | Description |
|---|---|---|
centerOnZeroOnNegativeMin | boolean | center the limits |
this
▸ setNormalizationLimits(minValue, maxValue?, interpolationEdge?): CompositeLogCurve
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| Name | Type | Description |
|---|---|---|
minValue | number | Range | min value which can be specified for normalization |
Optional maxValue | number | max value which can be specified for normalization |
Optional interpolationEdge | InterpolationEdge | edge values interpolation type, edge interpolation type does not change if it was not specified |
this
LogCurve.setNormalizationLimits
▸ setNotification(notify, force?): CompositeLogCurve
set notification state
| Name | Type | Description |
|---|---|---|
notify | boolean | flag set to invalidate parent or not |
Optional force | boolean | true if parent should be invalidated immediately |
this
▸ setNullValueSymbol(symbol): CompositeLogCurve
Sets symbol to be used to render markers for null value
| Name | Type | Description |
|---|---|---|
symbol | SymbolShape | symbol used at the start and end of the gap(null value) |
this
▸ setOpacity(opacity, blendMode?): CompositeLogCurve
Sets node opacity
| Name | Type | Description |
|---|---|---|
opacity | number | node opacity from 0 to 1 |
Optional blendMode | BlendMode | opacity blend mode. If it is normal, opacity will be replaced. |
this
▸ setOptimizationBar(needOptimize?): CompositeLogCurve
Turns on/off optimization for bars
| Name | Type | Description |
|---|---|---|
Optional needOptimize | boolean | Is optimization for bars on |
this
▸ setOptimizationCurve(needOptimize?): CompositeLogCurve
Turns on/off optimization for curve
| Name | Type | Description |
|---|---|---|
Optional needOptimize | boolean | Is optimization for curve on |
this
▸ setOptimizationSymbol(needOptimize?): CompositeLogCurve
Turns on/off optimization for symbols
| Name | Type | Description |
|---|---|---|
Optional needOptimize | boolean | Is optimization for symbols on |
this
LogCurve.setOptimizationSymbol
▸ setOptimizationType(optimizationType): CompositeLogCurve
Sets optimization type
| Name | Type | Description |
|---|---|---|
optimizationType | OptimizationType | optimization type which used with current curve |
this
▸ setOptimizationValue(needOptimize?): CompositeLogCurve
Turns on/off optimization for values
| Name | Type | Description |
|---|---|---|
Optional needOptimize | boolean | Is optimization for values on |
this
▸ setProperties(properties?): CompositeLogCurve
Sets all the properties pertaining to this object
| Name | Type | Description |
|---|---|---|
Optional properties | Options | An object containing the properties to set |
▸ setProperty(name, value): CompositeLogCurve
Sets dynamic property by name
| Name | Type | Description |
|---|---|---|
name | string | property name |
value | any | property value |
this
▸ setReferenceCurve(referenceCurve): CompositeLogCurve
Set reference curve
| Name | Type | Description |
|---|---|---|
referenceCurve | LogCurve | LogReferenceLine | reference curve |
this
▸ setRenderingFilter(filter): CompositeLogCurve
Sets filter to be applied before rendering and picking
| Name | Type | Description |
|---|---|---|
filter | IFilter | filter to set |
this
▸ setResponsiveStyle(style): CompositeLogCurve
Sets responsive style.
| Name | Type | Description |
|---|---|---|
style | Options | ResponsiveStyle | responsive style |
this
▸ setRightFill(fill): CompositeLogCurve
Sets right fill
| Name | Type | Description |
|---|---|---|
fill | LogFill | right fill |
▸ setRightFillType(type): CompositeLogCurve
Sets fill type
| Name | Type | Description |
|---|---|---|
type | FillType | type of the fill |
▸ setRightReferencePointSet(reference): CompositeLogCurve
Sets reference point set to fill to the right
| Name | Type | Description |
|---|---|---|
reference | number | LogCurve | LogReferenceLine | Options | reference point set |
▸ setScaleScrollStrategy(strategy?): CompositeLogCurve
Sets scale scroll strategy
| Name | Type | Description |
|---|---|---|
Optional strategy | Delegate | scale scroll strategy |
this
LogCurve.setScaleScrollStrategy
▸ setScaleType(type): CompositeLogCurve
Sets scale type. This applies function to data values.
| Name | Type | Description |
|---|---|---|
type | ScaleType | scale type |
this
▸ setSelectable(selectable): CompositeLogCurve
Allows to select node. If node is not selectable then child node is not selectable.
| Name | Type | Description |
|---|---|---|
selectable | boolean | flag to allow node selection |
this
▸ setSilent(bool): CompositeLogCurve
Set silent mode
| Name | Type | Description |
|---|---|---|
bool | boolean | flag to enable silent mode |
this
▸ setSymbol(symbol): CompositeLogCurve
Sets symbol to be used to render markers
| Name | Type | Description |
|---|---|---|
symbol | SymbolShape | Options | symbols to be used for markers |
this
▸ setSymbolDecimationDistance(distance): CompositeLogCurve
Sets symbol decimation distance
| Name | Type | Description |
|---|---|---|
distance | number | minimum distance between symbols' centers in device coordinates |
this
LogCurve.setSymbolDecimationDistance
▸ setSymbolDecimationStep(step): CompositeLogCurve
Sets symbol decimation step
| Name | Type | Description |
|---|---|---|
step | number | range to skip the symbols |
this
LogCurve.setSymbolDecimationStep
▸ setSymbolFormatter(symbolFormatter): CompositeLogCurve
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;
});| Name | Type | Description |
|---|---|---|
symbolFormatter | SymbolFormatterCallback | formatter to be used to adjust symbol |
▸ setSymbolOptimizationType(optimizationType): CompositeLogCurve
Sets optimization type
| Name | Type | Description |
|---|---|---|
optimizationType | SymbolOptimizationType | optimization type which used with current symbols |
this
LogCurve.setSymbolOptimizationType
▸ setSymbolSkipIntersectionRatio(symbolSkipIntersectionRatio): CompositeLogCurve
Sets symbol's skip intersection ratio
| Name | Type | Description |
|---|---|---|
symbolSkipIntersectionRatio | number | value to set |
LogCurve.setSymbolSkipIntersectionRatio
▸ setSymbolsGap(symbolsGap): CompositeLogCurve
Set symbol gap
| Name | Type | Description |
|---|---|---|
symbolsGap | number | Dimension | symbol gap |
this
▸ setTag(tag): CompositeLogCurve
Allows the user to associate any arbitrary object with the node.
| Name | Type | Description |
|---|---|---|
tag | any | The object to be associated with the node. |
this
▸ setTextAnchorType(anchorType): CompositeLogCurve
Sets text anchor type
Throws
if anchorType value is not valid
| Name | Type | Description |
|---|---|---|
anchorType | AnchorType | position to place the anchor |
▸ setTextAutoAlignment(enabled): CompositeLogCurve
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.
| Name | Type | Description |
|---|---|---|
enabled | boolean | enable automatic text alignment |
this
▸ setTextAutoAlignmentOffset(offset): CompositeLogCurve
Set text offset from anchor for automatic text alignment
this
LogCurve.setTextAutoAlignmentOffset
▸ setTextDecimationStep(step): CompositeLogCurve
Sets text decimation step
| Name | Type | Description |
|---|---|---|
step | number | range to skip while decimating |
LogCurve.setTextDecimationStep
▸ setTextReference(textReference): CompositeLogCurve
Sets text reference. Accepted values: 'curve', 'track' or 'sample'.
| Name | Type | Description |
|---|---|---|
textReference | TextReference | sets textreference 'curve', 'track' or 'sample'. |
this
▸ setTextStyle(textStyle, merge?): CompositeLogCurve
Sets text style
| Name | Type | Description |
|---|---|---|
textStyle | Type | a new shape text style |
Optional merge | boolean | true if you want to merge textStyle with existing attribute, false by default |
▸ setValueFormat(format): CompositeLogCurve
Sets formatter to be used to format values
| Name | Type | Description |
|---|---|---|
format | Options | DecimalFormat | number formatter |
this
▸ setVisible(value): CompositeLogCurve
Sets visibility of the node. Send event Events.VisibilityChanged
| Name | Type | Description |
|---|---|---|
value | boolean | flag specifying visibility of the node |
this
▸ setVisibleBar(enable): CompositeLogCurve
Helper method to set up value-bars visibility.
| Name | Type | Description |
|---|---|---|
enable | boolean | value-bars visibility on or off |
this
▸ setVisibleFill(enable): CompositeLogCurve
Helper method to set up value-fills visibility.
| Name | Type | Description |
|---|---|---|
enable | boolean | value-fills visibility on or off |
this
▸ setVisibleLine(enable): CompositeLogCurve
Helper method to setup line visibility
| Name | Type | Description |
|---|---|---|
enable | boolean | visibility of the line |
this
▸ setVisibleNullValueSymbol(visible): CompositeLogCurve
Display or hide null values symbols
| Name | Type | Description |
|---|---|---|
visible | boolean | visible null value symbols |
this
LogCurve.setVisibleNullValueSymbol
▸ setVisibleSymbol(enable): CompositeLogCurve
Helper method to set up symbols visibility
| Name | Type | Description |
|---|---|---|
enable | boolean | symbols visibility on or off |
this
▸ setVisibleValue(enable): CompositeLogCurve
Helper method to set up values visibility.
| Name | Type | Description |
|---|---|---|
enable | boolean | values visibility on or off |
this
▸ setWrapLineStyleHandler(wrapLineStyleHandler): CompositeLogCurve
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;
}));| Name | Type | Description |
|---|---|---|
wrapLineStyleHandler | WrapLineStyleHandlerCallback | handler should return LineStyle |
this
LogCurve.setWrapLineStyleHandler
▸ setWrapping(wrapping): CompositeLogCurve
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);| Name | Type | Description |
|---|---|---|
wrapping | boolean | wrapping on or off, based on if you want to see the clipped part of the track or not |
this
▸ setZIndex(value): CompositeLogCurve
Sets z-index for node (set null for default)
| Name | Type | Description |
|---|---|---|
value | number | index determining node z-position |
this
▸ shear(shx, shy): CompositeLogCurve
Shear this node's bounds
| Name | Type | Description |
|---|---|---|
shx | number | x-axis shear |
shy | number | y-axis shear |
this
▸ toString(): string
Returns a string representation of this object (generally the classname)
string
A string representation
▸ translate(tx, ty): CompositeLogCurve
Translate bounds
| Name | Type | Description |
|---|---|---|
tx | number | x translation |
ty | number | y translation |
this
▸ unregisterAnimationStyle(root): void
Unregister animation style.
| Name | Type | Description |
|---|---|---|
root | Node | root node for node |
void
LogCurve.unregisterAnimationStyle
▸ updateFromData(rect?, args?, silent?): CompositeLogCurve
Synchronize state from data
| Name | Type | Description |
|---|---|---|
Optional rect | Rect | optional area to invalidate |
Optional args | LogDataEvent | event arguments |
Optional silent | boolean | silent default is false, set it to true if do now want to rise notification |
▸ updateSceneTransformation(): CompositeLogCurve
Update scene transformation
this
LogCurve.updateSceneTransformation
▸ updateState(regions?, changes?): CompositeLogCurve
Update state
| Name | Type | Description |
|---|---|---|
Optional regions | Rect[] | optional array to return invalid rectangles |
Optional changes | StateChanges | optional parameter to specify a reason of changes |
this
▸ Protected updateTimeStamp(): CompositeLogCurve
Update time stamp to indicate that Node or Children has been changed.
this
▸ Static convertOptimizationTypeValue(optimizationType): OptimizationType
Converts optimization type value
| Name | Type | Description |
|---|---|---|
optimizationType | OptimizationType | optimization type |
LogCurve.convertOptimizationTypeValue
▸ Static enableSceneGraphNotification(enabled): void
Enable / disable all notifications
| Name | Type | Description |
|---|---|---|
enabled | boolean | sets if this object sends notifications |
void
LogCurve.enableSceneGraphNotification
▸ Static findParent<T>(node, classType, filter?): InstanceType<T>
Find root of the node with specified type
| Name | Type |
|---|---|
T | extends Constructor<any> |
| Name | Type | Description |
|---|---|---|
node | Node | node to start search |
classType | T | type of the class to search for |
Optional filter | (node: Node) => boolean | additional filter to apply |
InstanceType<T>
▸ Static findParent(node, classType, filter?): Node
Find root of the node with specified type
| Name | Type | Description |
|---|---|---|
node | Node | node to start search |
classType | string | interface name to search for |
Optional filter | (node: Node) => boolean | additional filter to apply |
▸ Static getClassName(): string
string
▸ Static isSceneGraphNotificationEnabled(): boolean
Return status of the global notification for all nodes.
boolean