Reincharts
Preparing search index...
packages/annotations/src
SvgPathLabel
Class SvgPathLabel
Hierarchy
Component
<
SvgPathLabelProps
>
SvgPathLabel
Index
Constructors
constructor
Properties
default
Props
Methods
draw
On
Canvas
helper
render
Constructors
constructor
new
SvgPathLabel
(
props
:
SvgPathLabelProps
)
:
SvgPathLabel
Parameters
props
:
SvgPathLabelProps
Returns
SvgPathLabel
new
SvgPathLabel
(
props
:
SvgPathLabelProps
,
context
:
any
)
:
SvgPathLabel
Parameters
props
:
SvgPathLabelProps
context
:
any
value of the parent
Context
specified in
contextType
.
Returns
SvgPathLabel
Properties
Static
default
Props
defaultProps
:
{
fillStyle
:
string
;
rotate
:
number
;
scale
:
number
;
selectCanvas
:
(
canvases
:
any
)
=>
any
;
svgPath
:
string
;
x
:
(
__namedParameters
:
any
)
=>
any
;
}
= ...
Methods
Private
Readonly
draw
On
Canvas
drawOnCanvas
(
ctx
:
CanvasRenderingContext2D
,
moreProps
:
any
)
:
void
Parameters
ctx
:
CanvasRenderingContext2D
moreProps
:
any
Returns
void
Private
Readonly
helper
helper
(
moreProps
:
any
,
xAccessor
:
any
,
xScale
:
ScaleContinuousNumeric
<
number
,
number
>
,
yScale
:
ScaleContinuousNumeric
<
number
,
number
>
,
)
:
{
fillStyle
:
any
;
strokeStyle
:
any
;
strokeWidth
:
undefined
|
number
;
svgPath
:
any
;
xPos
:
any
;
yPos
:
any
;
}
Parameters
moreProps
:
any
xAccessor
:
any
xScale
:
ScaleContinuousNumeric
<
number
,
number
>
yScale
:
ScaleContinuousNumeric
<
number
,
number
>
Returns
{
fillStyle
:
any
;
strokeStyle
:
any
;
strokeWidth
:
undefined
|
number
;
svgPath
:
any
;
xPos
:
any
;
yPos
:
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
.