@moritzbrantner/charts - v0.1.1
GitHub
Preparing search index...
ChartSampleInteractionOverlayProps
Type Alias ChartSampleInteractionOverlayProps<TProperties>
type
ChartSampleInteractionOverlayProps
<
TProperties
=
Record
<
string
,
unknown
>
>
=
{
ariaLabel
?:
string
;
className
?:
string
;
domain
:
[
number
,
number
]
;
formatSampleLabel
?:
(
sample
:
ChartDensitySample
<
TProperties
>
)
=>
string
;
isSampleSelectable
?:
(
sample
:
ChartDensitySample
<
TProperties
>
)
=>
boolean
;
onSampleContextMenu
?:
(
interaction
:
ChartSampleInteraction
<
TProperties
>
,
event
:
MouseEvent
<
SVGRectElement
>
,
)
=>
void
;
onSampleHover
?:
(
interaction
:
ChartSampleInteraction
<
TProperties
>
|
null
,
)
=>
void
;
onSampleSelect
?:
(
interaction
:
ChartSampleInteraction
<
TProperties
>
)
=>
void
;
orientation
?:
ChartAxisOrientation
;
samples
:
ChartDensitySample
<
TProperties
>
[]
;
selectedSampleIndex
?:
number
|
null
;
}
Type Parameters
TProperties
=
Record
<
string
,
unknown
>
Index
Properties
aria
Label?
class
Name?
domain
format
Sample
Label?
is
Sample
Selectable?
on
Sample
Context
Menu?
on
Sample
Hover?
on
Sample
Select?
orientation?
samples
selected
Sample
Index?
Properties
Optional
aria
Label
ariaLabel
?:
string
Optional
class
Name
className
?:
string
domain
domain
:
[
number
,
number
]
Optional
format
Sample
Label
formatSampleLabel
?:
(
sample
:
ChartDensitySample
<
TProperties
>
)
=>
string
Optional
is
Sample
Selectable
isSampleSelectable
?:
(
sample
:
ChartDensitySample
<
TProperties
>
)
=>
boolean
Optional
on
Sample
Context
Menu
onSampleContextMenu
?:
(
interaction
:
ChartSampleInteraction
<
TProperties
>
,
event
:
MouseEvent
<
SVGRectElement
>
,
)
=>
void
Optional
on
Sample
Hover
onSampleHover
?:
(
interaction
:
ChartSampleInteraction
<
TProperties
>
|
null
,
)
=>
void
Optional
on
Sample
Select
onSampleSelect
?:
(
interaction
:
ChartSampleInteraction
<
TProperties
>
)
=>
void
Optional
orientation
orientation
?:
ChartAxisOrientation
samples
samples
:
ChartDensitySample
<
TProperties
>
[]
Optional
selected
Sample
Index
selectedSampleIndex
?:
number
|
null
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
aria
Label
class
Name
domain
format
Sample
Label
is
Sample
Selectable
on
Sample
Context
Menu
on
Sample
Hover
on
Sample
Select
orientation
samples
selected
Sample
Index
GitHub
@moritzbrantner/charts - v0.1.1
Loading...