UNPKG

@awsui/components-react

Version:

On July 19th, 2022, we launched [Cloudscape Design System](https://cloudscape.design). Cloudscape is an evolution of AWS-UI. It consists of user interface guidelines, front-end components, design resources, and development tools for building intuitive, en

18 lines 711 B
import { ChartScale } from '../internal/components/cartesian-chart/scales'; import { ChartDataTypes, InternalChartSeries } from './interfaces'; export interface ScaledBarGroup<T> { 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<T extends ChartDataTypes>(series: ReadonlyArray<InternalChartSeries<T>>, xScale: ChartScale, plotWidth: number, plotHeight: number, axis: 'x' | 'y'): ScaledBarGroup<T>[]; //# sourceMappingURL=make-scaled-bar-groups.d.ts.map