import { ChartScale } from '../internal/components/cartesian-chart/scales'; import { ChartDataTypes, InternalChartSeries } from './interfaces'; export interface ScaledBarGroup { x: T; hasData: boolean; isValid: boolean; position: { x: number; y: number; width: number; height: number; }; } /** * Creates a list of all bar (and mixed) groups in the series with their scaled positions. */ export default function makeScaledBarGroups(series: ReadonlyArray>, xScale: ChartScale, plotWidth: number, plotHeight: number, axis: 'x' | 'y'): ScaledBarGroup[];