victory-native
Version:
A charting library for React Native with a focus on performance and customization.
53 lines (52 loc) • 1.3 kB
TypeScript
import type { InputDatum, ValueOf } from "../../types";
export declare const CartesianAxisDefaultProps: {
lineColor: string;
lineWidth: number;
tickCount: number;
labelOffset: {
x: number;
y: number;
};
axisSide: {
x: "bottom";
y: "left";
};
axisScales: {
xAxisScale: "linear";
yAxisScale: "linear";
};
labelPosition: "outset";
formatXLabel: (label: ValueOf<InputDatum>) => string;
formatYLabel: (label: ValueOf<InputDatum>) => string;
labelColor: string;
ix: never[];
domain: null;
};
export declare const XAxisDefaults: {
lineColor: string;
lineWidth: number;
tickCount: number;
labelOffset: number;
axisSide: "bottom";
yAxisSide: "left";
labelPosition: "outset";
formatXLabel: (label: ValueOf<InputDatum>) => string;
labelColor: string;
labelRotate: number;
};
export declare const YAxisDefaults: {
lineColor: string;
lineWidth: number;
tickCount: number;
labelOffset: number;
axisSide: "left";
labelPosition: "outset";
formatYLabel: (label: ValueOf<InputDatum>) => string;
labelColor: string;
yKeys: never[];
domain: null;
};
export declare const FrameDefaults: {
lineColor: string;
lineWidth: number;
};