@moritzbrantner/charts - v0.1.1
GitHub
Preparing search index...
createChartRidgelineData
Function createChartRidgelineData
createChartRidgelineData
<
TProperties
>
(
points
:
(
IndexedChartSeriesPoint
<
TProperties
>
|
ChartSeriesPoint
<
TProperties
>
)
[]
,
options
:
{
bucketCount
:
number
;
groupBy
:
|
{
property
:
keyof
TProperties
&
string
}
|
(
(
point
:
IndexedChartSeriesPoint
<
TProperties
>
)
=>
string
)
;
maxGroups
?:
number
;
valueAccessor
?:
ChartPointValueAccessor
<
TProperties
>
;
valueDomain
?:
[
number
,
number
]
;
xDomain
?:
[
number
,
number
]
;
}
,
)
:
ChartRidgelineData
<
TProperties
>
Type Parameters
TProperties
Parameters
points
: (
IndexedChartSeriesPoint
<
TProperties
>
|
ChartSeriesPoint
<
TProperties
>
)
[]
options
:
{
bucketCount
:
number
;
groupBy
:
|
{
property
:
keyof
TProperties
&
string
}
|
(
(
point
:
IndexedChartSeriesPoint
<
TProperties
>
)
=>
string
)
;
maxGroups
?:
number
;
valueAccessor
?:
ChartPointValueAccessor
<
TProperties
>
;
valueDomain
?:
[
number
,
number
]
;
xDomain
?:
[
number
,
number
]
;
}
Returns
ChartRidgelineData
<
TProperties
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
GitHub
@moritzbrantner/charts - v0.1.1
Loading...