Reincharts
Preparing search index...
packages/annotations/src
LabelAnnotation
Class LabelAnnotation
Hierarchy
Component
<
LabelAnnotationProps
>
LabelAnnotation
Index
Constructors
constructor
Properties
default
Props
Methods
handle
Click
helper
render
Constructors
constructor
new
LabelAnnotation
(
props
:
LabelAnnotationProps
)
:
LabelAnnotation
Parameters
props
:
LabelAnnotationProps
Returns
LabelAnnotation
new
LabelAnnotation
(
props
:
LabelAnnotationProps
,
context
:
any
)
:
LabelAnnotation
Parameters
props
:
LabelAnnotationProps
context
:
any
value of the parent
Context
specified in
contextType
.
Returns
LabelAnnotation
Properties
Static
default
Props
defaultProps
:
{
className
:
string
;
fill
:
string
;
fontFamily
:
string
;
fontSize
:
number
;
opacity
:
number
;
rotate
:
number
;
textAnchor
:
string
;
x
:
(
__namedParameters
:
{
data
:
any
;
xAccessor
:
any
;
xScale
:
ScaleContinuousNumeric
<
number
,
number
>
;
}
,
)
=>
number
;
}
= ...
Methods
Private
Readonly
handle
Click
handleClick
(
e
:
MouseEvent
)
:
void
Parameters
e
:
MouseEvent
Returns
void
Private
Readonly
helper
helper
()
:
{
fill
:
any
;
text
:
any
;
tooltip
:
any
;
xPos
:
number
;
yPos
:
number
}
Returns
{
fill
:
any
;
text
:
any
;
tooltip
:
any
;
xPos
:
number
;
yPos
:
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
handle
Click
helper
render
Reincharts
Loading...
value of the parent Context specified in
contextType
.