@moritzbrantner/charts - v0.1.1
GitHub
Preparing search index...
getChartThresholdAnnotations
Function getChartThresholdAnnotations
getChartThresholdAnnotations
<
TProperties
>
(
samples
:
ChartDensitySample
<
TProperties
>
[]
,
threshold
:
number
,
options
?:
{
accessor
?:
ChartSampleValueAccessor
<
TProperties
>
;
direction
?:
"above"
|
"below"
;
}
,
)
:
ChartThresholdAnnotation
<
TProperties
>
[]
Type Parameters
TProperties
Parameters
samples
:
ChartDensitySample
<
TProperties
>
[]
threshold
:
number
options
:
{
accessor
?:
ChartSampleValueAccessor
<
TProperties
>
;
direction
?:
"above"
|
"below"
;
}
= {}
Returns
ChartThresholdAnnotation
<
TProperties
>
[]
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
GitHub
@moritzbrantner/charts - v0.1.1
Loading...