Reincharts
Preparing search index...
packages/series/src
Square
Class Square
Hierarchy
Component
<
SquareProps
>
Square
Index
Constructors
constructor
Properties
default
Props
Methods
render
draw
On
Canvas
Constructors
constructor
new
Square
(
props
:
SquareProps
)
:
Square
Parameters
props
:
SquareProps
Returns
Square
new
Square
(
props
:
SquareProps
,
context
:
any
)
:
Square
Parameters
props
:
SquareProps
context
:
any
value of the parent
Context
specified in
contextType
.
Returns
Square
Properties
Static
default
Props
defaultProps
:
{
className
:
string
;
fillStyle
:
string
}
= ...
Methods
render
render
()
:
Element
Returns
Element
Static
draw
On
Canvas
drawOnCanvas
(
props
:
SquareProps
,
point
:
{
data
:
unknown
;
x
:
number
;
y
:
number
}
,
ctx
:
CanvasRenderingContext2D
,
)
:
void
Parameters
props
:
SquareProps
point
:
{
data
:
unknown
;
x
:
number
;
y
:
number
}
ctx
:
CanvasRenderingContext2D
Returns
void
Settings
Member Visibility
Protected
Private
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
default
Props
Methods
render
draw
On
Canvas
Reincharts
Loading...
value of the parent Context specified in
contextType
.