react-native-chart-kit
Version:
If you're looking to **build a website or a cross-platform mobile app** – we will be happy to help you! Send a note to clients@ui1.io and we will be in touch with you shortly.
33 lines • 1.04 kB
TypeScript
/// <reference types="react" />
import { ViewStyle } from "react-native";
import AbstractChart, { AbstractChartConfig, AbstractChartProps } from "./AbstractChart";
export declare type ProgressChartData = Array<number> | {
labels?: Array<string>;
colors?: Array<string>;
data: Array<number>;
};
export interface ProgressChartProps extends AbstractChartProps {
data: ProgressChartData;
width: number;
height: number;
center?: Array<number>;
absolute?: boolean;
hasLegend?: boolean;
style?: Partial<ViewStyle>;
chartConfig?: AbstractChartConfig;
hideLegend?: boolean;
strokeWidth?: number;
radius?: number;
withCustomBarColorFromData?: boolean;
}
declare type ProgressChartState = {};
declare class ProgressChart extends AbstractChart<ProgressChartProps, ProgressChartState> {
static defaultProps: {
style: {};
strokeWidth: number;
radius: number;
};
render(): JSX.Element;
}
export default ProgressChart;
//# sourceMappingURL=ProgressChart.d.ts.map