@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
15 lines • 853 B
TypeScript
import { CartesianChartProps } from '../internal/components/cartesian-chart/interfaces';
import { ChartSeriesDetailItem } from '../internal/components/chart-series-details';
import { ChartDataTypes, InternalChartSeries, MixedLineBarChartProps } from './interfaces';
export interface HighlightDetails {
position: string;
details: ChartSeriesDetailItem[];
}
/** Formats provided x-position and its corresponding series values. */
export default function formatHighlighted<T extends ChartDataTypes>({ position, series, xTickFormatter, detailPopoverSeriesContent, }: {
position: T;
series: readonly InternalChartSeries<T>[];
xTickFormatter?: CartesianChartProps.TickFormatter<T>;
detailPopoverSeriesContent?: MixedLineBarChartProps.DetailPopoverSeriesContent<T>;
}): HighlightDetails;
//# sourceMappingURL=format-highlighted.d.ts.map