Reincharts
Preparing search index...
packages/coordinates/src
PriceCoordinate
Class PriceCoordinate
Hierarchy
Component
<
PriceCoordinateProps
>
PriceCoordinate
Index
Constructors
constructor
Properties
default
Props
Methods
draw
On
Canvas
helper
render
Constructors
constructor
new
PriceCoordinate
(
props
:
PriceCoordinateProps
)
:
PriceCoordinate
Parameters
props
:
PriceCoordinateProps
Returns
PriceCoordinate
new
PriceCoordinate
(
props
:
PriceCoordinateProps
,
context
:
any
)
:
PriceCoordinate
Parameters
props
:
PriceCoordinateProps
context
:
any
value of the parent
Context
specified in
contextType
.
Returns
PriceCoordinate
Properties
Static
default
Props
defaultProps
:
{
arrowWidth
:
number
;
at
:
string
;
displayFormat
:
(
n
:
number
|
{}
)
=>
string
;
dx
:
number
;
fill
:
string
;
fontFamily
:
string
;
fontSize
:
number
;
lineOpacity
:
number
;
lineStroke
:
string
;
opacity
:
number
;
orient
:
string
;
price
:
number
;
rectHeight
:
number
;
rectWidth
:
number
;
strokeDasharray
:
string
;
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
:
PriceCoordinateProps
,
moreProps
:
any
,
)
:
{
arrowWidth
:
undefined
|
number
;
coordinate
:
string
;
dx
:
undefined
|
number
;
edgeAt
:
any
;
fill
:
any
;
fontFamily
:
undefined
|
string
;
fontSize
:
undefined
|
number
;
hideLine
:
boolean
;
lineOpacity
:
undefined
|
number
;
lineStroke
:
undefined
|
string
;
lineStrokeDasharray
:
undefined
|
strokeDashTypes
;
opacity
:
undefined
|
number
;
orient
:
undefined
|
"left"
|
"right"
|
"top"
|
"bottom"
;
rectHeight
:
undefined
|
number
;
rectWidth
:
undefined
|
number
;
show
:
boolean
;
stroke
:
undefined
|
string
;
strokeOpacity
:
undefined
|
number
;
strokeWidth
:
undefined
|
number
;
textFill
:
any
;
type
:
string
;
x1
:
number
;
x2
:
any
;
y1
:
any
;
y2
:
any
;
}
Parameters
props
:
PriceCoordinateProps
moreProps
:
any
Returns
{
arrowWidth
:
undefined
|
number
;
coordinate
:
string
;
dx
:
undefined
|
number
;
edgeAt
:
any
;
fill
:
any
;
fontFamily
:
undefined
|
string
;
fontSize
:
undefined
|
number
;
hideLine
:
boolean
;
lineOpacity
:
undefined
|
number
;
lineStroke
:
undefined
|
string
;
lineStrokeDasharray
:
undefined
|
strokeDashTypes
;
opacity
:
undefined
|
number
;
orient
:
undefined
|
"left"
|
"right"
|
"top"
|
"bottom"
;
rectHeight
:
undefined
|
number
;
rectWidth
:
undefined
|
number
;
show
:
boolean
;
stroke
:
undefined
|
string
;
strokeOpacity
:
undefined
|
number
;
strokeWidth
:
undefined
|
number
;
textFill
:
any
;
type
:
string
;
x1
:
number
;
x2
:
any
;
y1
:
any
;
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
.