@apptane/react-ui-charts
Version:
Chart components in Apptane React UI framework
10 lines (9 loc) • 622 B
TypeScript
import { DomainValue } from "../common/Types.js";
import { ChartAxisProps } from "./ChartAxis.types.js";
export declare type ChartAxisPropsEx<T extends DomainValue> = ChartAxisProps<T> & {
extent: number;
format: (value: T) => string;
ticks: T[];
tickPosition: (value: T) => number | undefined;
};
export declare function ChartAxis<T extends DomainValue>({ componentId, theme, colorMode, orientation, offset, span, extent, textOffset, axisVisible, tickSize, tickVisible, tickPosition, format, ticks, title, }: ChartAxisPropsEx<T>): import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;