upsetjs import type { UpSetAddon } from '../react' ; import { boxplotAddon as boxplotAddonImpl , IBoxplotStylePlainProps , boxplotAggregatedAddon as boxplotAggregatedAddonImpl , } from '@upsetjs/addons' ; import type { IBoxPlot } from '@upsetjs/math' ; export { boxplot , BoxplotStatsOptions , IBoxPlot , QuantilesMethod } from '@upsetjs/math' ; export interface IBoxplotStyleProps extends IBoxplotStylePlainProps { /**
     * custom styles applied to the box element
     */ boxStyle ? : CSSStyleDeclaration ; /**
     * custom styles applied to the whisker element
     */ lineStyle ? : CSSStyleDeclaration ; /**
     * custom styles applied to the outlier elements
     */ outlierStyle ? : CSSStyleDeclaration ; } param prop param elems param options export function boxplotAddon < T > ( prop , elems , options = { } ) { return boxplotAddonImpl ( prop , elems , options as Partial < Pick < UpSetAddon < T > , 'size' | 'position' | 'name' > > & IBoxplotStyleProps & { boxStyle : any ; lineStyle : any ; outlierStyle : any ; } ) ; } param acc param elems param options export function boxplotAggregatedAddon < T > ( acc , domain , options = { } ) { return boxplotAggregatedAddonImpl ( acc , domain , options as Partial < Pick < UpSetAddon < T > , 'size' | 'position' | 'name' > > & IBoxplotStyleProps & { boxStyle : any ; lineStyle : any ; outlierStyle : any ; } ) ; }