Reincharts
Preparing search index...
packages/coordinates/src
MouseCoordinateX
Class MouseCoordinateX
Hierarchy
Component
<
MouseCoordinateXProps
>
MouseCoordinateX
Index
Constructors
constructor
Properties
default
Props
Methods
draw
On
Canvas
helper
render
Constructors
constructor
new
MouseCoordinateX
(
props
:
MouseCoordinateXProps
)
:
MouseCoordinateX
Parameters
props
:
MouseCoordinateXProps
Returns
MouseCoordinateX
new
MouseCoordinateX
(
props
:
MouseCoordinateXProps
,
context
:
any
,
)
:
MouseCoordinateX
Parameters
props
:
MouseCoordinateXProps
context
:
any
value of the parent
Context
specified in
contextType
.
Returns
MouseCoordinateX
Properties
Static
default
Props
defaultProps
:
{
at
:
string
;
customX
:
(
props
:
MouseCoordinateXProps
,
moreProps
:
any
,
)
=>
{
coordinate
:
string
;
x
:
any
}
;
fill
:
string
;
fitToText
:
boolean
;
fontFamily
:
string
;
fontSize
:
number
;
opacity
:
number
;
orient
:
string
;
rectHeight
:
number
;
rectWidth
:
number
;
snapX
:
boolean
;
strokeOpacity
:
number
;
strokeWidth
:
number
;
textFill
:
string
;
yAxisPad
:
number
;
}
= ...
Methods
Private
Readonly
draw
On
Canvas
drawOnCanvas
(
ctx
:
CanvasRenderingContext2D
,
moreProps
:
any
)
:
void
Parameters
ctx
:
CanvasRenderingContext2D
moreProps
:
any
Returns
void
Private
Readonly
helper
helper
(
props
:
MouseCoordinateXProps
,
moreProps
:
any
,
)
:
|
null
|
{
arrowWidth
:
number
;
coordinate
:
string
;
edgeAt
:
any
;
fill
:
undefined
|
string
;
fitToText
:
undefined
|
boolean
;
fontFamily
:
undefined
|
string
;
fontSize
:
undefined
|
number
;
hideLine
:
boolean
;
opacity
:
undefined
|
number
;
orient
:
undefined
|
"top"
|
"bottom"
;
rectHeight
:
undefined
|
number
;
rectRadius
:
undefined
|
number
;
rectWidth
:
undefined
|
number
;
show
:
any
;
stroke
:
undefined
|
string
;
strokeOpacity
:
undefined
|
number
;
strokeWidth
:
undefined
|
number
;
textFill
:
undefined
|
string
;
type
:
string
;
x1
:
number
;
x2
:
number
;
y1
:
number
;
y2
:
any
;
}
Parameters
props
:
MouseCoordinateXProps
moreProps
:
any
Returns
|
null
|
{
arrowWidth
:
number
;
coordinate
:
string
;
edgeAt
:
any
;
fill
:
undefined
|
string
;
fitToText
:
undefined
|
boolean
;
fontFamily
:
undefined
|
string
;
fontSize
:
undefined
|
number
;
hideLine
:
boolean
;
opacity
:
undefined
|
number
;
orient
:
undefined
|
"top"
|
"bottom"
;
rectHeight
:
undefined
|
number
;
rectRadius
:
undefined
|
number
;
rectWidth
:
undefined
|
number
;
show
:
any
;
stroke
:
undefined
|
string
;
strokeOpacity
:
undefined
|
number
;
strokeWidth
:
undefined
|
number
;
textFill
:
undefined
|
string
;
type
:
string
;
x1
:
number
;
x2
:
number
;
y1
:
number
;
y2
:
any
;
}
render
render
()
:
Element
Returns
Element
Settings
Member Visibility
Protected
Private
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
default
Props
Methods
draw
On
Canvas
helper
render
Reincharts
Loading...
value of the parent Context specified in
contextType
.