@amaui/ui-react
Version:
UI for React
22 lines (21 loc) • 567 B
TypeScript
import React from 'react';
import { TMethod } from '@amaui/models';
import { IChart, IChartValueValues } from '../Chart/Chart';
export interface ILineChartItem extends IChart {
name?: string;
refs?: {
wrapper?: HTMLElement;
defs?: HTMLElement;
};
rects?: {
wrapper?: DOMRect;
svg?: DOMRect;
};
values?: IChartValueValues;
updateDefs?: TMethod;
updateLegend?: TMethod;
smooth?: boolean;
smoothRatio?: number;
}
declare const LineChartItem: React.FC<ILineChartItem>;
export default LineChartItem;