Reincharts
Preparing search index...
packages/series/src
RenkoSeries
Class RenkoSeries
Hierarchy
Component
<
RenkoSeriesProps
>
RenkoSeries
Index
Constructors
constructor
Properties
default
Props
Methods
draw
On
Canvas
get
Renko
render
Constructors
constructor
new
RenkoSeries
(
props
:
RenkoSeriesProps
)
:
RenkoSeries
Parameters
props
:
RenkoSeriesProps
Returns
RenkoSeries
new
RenkoSeries
(
props
:
RenkoSeriesProps
,
context
:
any
)
:
RenkoSeries
Parameters
props
:
RenkoSeriesProps
context
:
any
value of the parent
Context
specified in
contextType
.
Returns
RenkoSeries
Properties
Static
default
Props
defaultProps
:
{
clip
:
boolean
;
fill
:
{
down
:
string
;
partial
:
string
;
up
:
string
}
;
stroke
:
{
down
:
string
;
up
:
string
}
;
strokeWidth
:
number
;
yAccessor
:
(
d
:
any
)
=>
{
close
:
any
;
high
:
any
;
low
:
any
;
open
:
any
}
;
}
= ...
Methods
Private
Readonly
draw
On
Canvas
drawOnCanvas
(
ctx
:
CanvasRenderingContext2D
,
moreProps
:
any
)
:
void
Parameters
ctx
:
CanvasRenderingContext2D
moreProps
:
any
Returns
void
Private
Readonly
get
Renko
getRenko
(
plotData
:
any
[]
,
xScale
:
ScaleContinuousNumeric
<
number
,
number
>
,
xAccessor
:
any
,
yScale
:
ScaleContinuousNumeric
<
number
,
number
>
,
)
:
{
fillStyle
:
undefined
|
string
;
height
:
number
;
strokeStyle
:
undefined
|
string
;
width
:
number
;
x
:
number
;
y
:
number
;
}
[]
Parameters
plotData
:
any
[]
xScale
:
ScaleContinuousNumeric
<
number
,
number
>
xAccessor
:
any
yScale
:
ScaleContinuousNumeric
<
number
,
number
>
Returns
{
fillStyle
:
undefined
|
string
;
height
:
number
;
strokeStyle
:
undefined
|
string
;
width
:
number
;
x
:
number
;
y
:
number
;
}
[]
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
get
Renko
render
Reincharts
Loading...
value of the parent Context specified in
contextType
.