@moritzbrantner/charts - v0.1.1
GitHub
Preparing search index...
ChartSampleSparklineProps
Type Alias ChartSampleSparklineProps<TProperties>
type
ChartSampleSparklineProps
<
TProperties
=
Record
<
string
,
unknown
>
>
=
{
ariaLabel
?:
string
;
className
?:
string
;
domain
:
[
number
,
number
]
;
formatDomainValue
?:
(
value
:
number
)
=>
string
;
formatSampleLabel
?:
(
sample
:
ChartDensitySample
<
TProperties
>
)
=>
string
;
formatValue
?:
(
value
:
number
|
null
,
sample
:
ChartDensitySample
<
TProperties
>
,
)
=>
string
;
onSampleHover
?:
(
sample
:
ChartDensitySample
<
TProperties
>
|
null
)
=>
void
;
onSampleSelect
?:
(
sample
:
ChartDensitySample
<
TProperties
>
)
=>
void
;
samples
:
ChartDensitySample
<
TProperties
>
[]
;
selectedSampleIndex
?:
number
|
null
;
}
Type Parameters
TProperties
=
Record
<
string
,
unknown
>
Index
Properties
aria
Label?
class
Name?
domain
format
Domain
Value?
format
Sample
Label?
format
Value?
on
Sample
Hover?
on
Sample
Select?
samples
selected
Sample
Index?
Properties
Optional
aria
Label
ariaLabel
?:
string
Optional
class
Name
className
?:
string
domain
domain
:
[
number
,
number
]
Optional
format
Domain
Value
formatDomainValue
?:
(
value
:
number
)
=>
string
Optional
format
Sample
Label
formatSampleLabel
?:
(
sample
:
ChartDensitySample
<
TProperties
>
)
=>
string
Optional
format
Value
formatValue
?:
(
value
:
number
|
null
,
sample
:
ChartDensitySample
<
TProperties
>
,
)
=>
string
Optional
on
Sample
Hover
onSampleHover
?:
(
sample
:
ChartDensitySample
<
TProperties
>
|
null
)
=>
void
Optional
on
Sample
Select
onSampleSelect
?:
(
sample
:
ChartDensitySample
<
TProperties
>
)
=>
void
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
Domain
Value
format
Sample
Label
format
Value
on
Sample
Hover
on
Sample
Select
samples
selected
Sample
Index
GitHub
@moritzbrantner/charts - v0.1.1
Loading...