@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
19 lines • 905 B
TypeScript
import AsyncStore from '../async-store';
import { AreaChartProps } from '../interfaces';
import { ChartModel } from './index';
export default class InteractionsStore<T extends AreaChartProps.DataTypes> extends AsyncStore<ChartModel.InteractionsState<T>> {
series: readonly AreaChartProps.Series<T>[];
plot: ChartModel.ComputedProps<T>['plot'];
constructor(series: readonly AreaChartProps.Series<T>[], plot: ChartModel.ComputedProps<T>['plot']);
highlightPoint(point: ChartModel.PlotPoint<T>): void;
highlightX(points: readonly ChartModel.PlotPoint<T>[]): void;
highlightFirstPoint(): void;
highlightSeries(s: null | AreaChartProps.Series<T>): void;
clearHighlight(): void;
clearHighlightedLegend(): void;
clearState(): void;
pinPopover(): void;
unpinPopover(): void;
togglePopoverPin(): void;
_getFirstSeriesPoint(s: AreaChartProps.Series<T>): null | ChartModel.PlotPoint<T>;
}