@moritzbrantner/charts - v0.1.1
GitHub
Preparing search index...
ChartScatterSvgProps
Type Alias ChartScatterSvgProps<TProperties>
type
ChartScatterSvgProps
<
TProperties
=
Record
<
string
,
unknown
>
>
=
{
ariaLabel
?:
string
;
className
?:
string
;
formatValue
?:
(
value
:
number
)
=>
string
;
height
?:
number
;
legend
?:
ReactNode
|
readonly
ChartSvgLegendItem
[]
;
onPointSelect
?:
(
point
:
ChartScatterSeries
<
TProperties
>
[
"points"
]
[
number
]
,
)
=>
void
;
series
:
ChartScatterSeries
<
TProperties
>
;
width
?:
number
;
xAxis
?:
ChartSvgAxisOptions
|
false
;
xDomain
?:
[
number
,
number
]
;
yAxis
?:
ChartSvgAxisOptions
|
false
;
yDomain
?:
[
number
,
number
]
;
}
Type Parameters
TProperties
=
Record
<
string
,
unknown
>
Index
Properties
aria
Label?
class
Name?
format
Value?
height?
legend?
on
Point
Select?
series
width?
x
Axis?
x
Domain?
y
Axis?
y
Domain?
Properties
Optional
aria
Label
ariaLabel
?:
string
Optional
class
Name
className
?:
string
Optional
format
Value
formatValue
?:
(
value
:
number
)
=>
string
Optional
height
height
?:
number
Optional
legend
legend
?:
ReactNode
|
readonly
ChartSvgLegendItem
[]
Optional
on
Point
Select
onPointSelect
?:
(
point
:
ChartScatterSeries
<
TProperties
>
[
"points"
]
[
number
]
,
)
=>
void
series
series
:
ChartScatterSeries
<
TProperties
>
Optional
width
width
?:
number
Optional
x
Axis
xAxis
?:
ChartSvgAxisOptions
|
false
Optional
x
Domain
xDomain
?:
[
number
,
number
]
Optional
y
Axis
yAxis
?:
ChartSvgAxisOptions
|
false
Optional
y
Domain
yDomain
?:
[
number
,
number
]
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
aria
Label
class
Name
format
Value
height
legend
on
Point
Select
series
width
x
Axis
x
Domain
y
Axis
y
Domain
GitHub
@moritzbrantner/charts - v0.1.1
Loading...