Search
Preparing search index...
The search index is not available
TypeDoc API Documentation
for SciChart
JavaScript Charts
Options
All
Public
Public/Protected
All
Inherited
Menu
Globals
PointPairMidpointDragPoint
Class PointPairMidpointDragPoint
Go to
JavaScript Charting Documentation
Go to
JavaScript Chart Examples
Go to
SciChart.js on Github
Drag point positioned at the midpoint between two host points.
Hierarchy
CallbackDragPoint
PointPairMidpointDragPoint
Implements
IDragPoint
Index
Constructors
constructor
Properties
id
Methods
apply
Drag
get
Adorner
Svg
get
Cursor
get
Screen
Position
hit
Test
Constructors
constructor
new
Point
Pair
Midpoint
Drag
Point
(
pointAIndex
:
number
, pointBIndex
:
number
, applyDelta
:
(
deltaX
:
number
, deltaY
:
number
)
=>
void
, id
:
string
, getAdornerSvg
?:
(
ctx
:
IDragPointContext
, position
:
Point
)
=>
string
, getCursor
?:
(
ctx
:
IDragPointContext
, isDragging
:
boolean
)
=>
ECursorStyle
|
undefined
)
:
PointPairMidpointDragPoint
Parameters
pointAIndex:
number
pointBIndex:
number
applyDelta:
(
deltaX
:
number
, deltaY
:
number
)
=>
void
(
deltaX
:
number
, deltaY
:
number
)
:
void
Parameters
deltaX:
number
deltaY:
number
Returns
void
id:
string
Optional
getAdornerSvg:
(
ctx
:
IDragPointContext
, position
:
Point
)
=>
string
(
ctx
:
IDragPointContext
, position
:
Point
)
:
string
Parameters
ctx:
IDragPointContext
position:
Point
Returns
string
Optional
getCursor:
(
ctx
:
IDragPointContext
, isDragging
:
boolean
)
=>
ECursorStyle
|
undefined
(
ctx
:
IDragPointContext
, isDragging
:
boolean
)
:
ECursorStyle
|
undefined
Parameters
ctx:
IDragPointContext
isDragging:
boolean
Returns
ECursorStyle
|
undefined
Returns
PointPairMidpointDragPoint
Properties
Readonly
id
id
:
string
Methods
apply
Drag
apply
Drag
(
ctx
:
IDragPointContext
, currentValues
:
Point
, previousValues
:
Point
)
:
void
Parameters
ctx:
IDragPointContext
currentValues:
Point
previousValues:
Point
Returns
void
get
Adorner
Svg
get
Adorner
Svg
(
ctx
:
IDragPointContext
)
:
string
Parameters
ctx:
IDragPointContext
Returns
string
get
Cursor
get
Cursor
(
ctx
:
IDragPointContext
, isDragging
:
boolean
)
:
ECursorStyle
|
undefined
Parameters
ctx:
IDragPointContext
isDragging:
boolean
Returns
ECursorStyle
|
undefined
get
Screen
Position
get
Screen
Position
(
ctx
:
IDragPointContext
)
:
Point
|
undefined
Parameters
ctx:
IDragPointContext
Returns
Point
|
undefined
hit
Test
hit
Test
(
ctx
:
IDragPointContext
, mousePoint
:
Point
)
:
boolean
Parameters
ctx:
IDragPointContext
mousePoint:
Point
Returns
boolean
Globals
Point
Pair
Midpoint
Drag
Point
constructor
id
apply
Drag
get
Adorner
Svg
get
Cursor
get
Screen
Position
hit
Test
Generated using
TypeDoc
Drag point positioned at the midpoint between two host points.