recharts
Version:
React charts
30 lines (29 loc) • 1.03 kB
TypeScript
import * as React from 'react';
import { PolarChartProps } from '../util/types';
export declare const defaultRadialBarChartProps: {
readonly layout: "radial";
readonly startAngle: 0;
readonly endAngle: 360;
readonly throttleDelay: number | "raf";
readonly throttledEvents: ReadonlyArray<keyof GlobalEventHandlersEventMap> | "all";
readonly accessibilityLayer: true;
readonly stackOffset: "none";
readonly barCategoryGap: "10%";
readonly barGap: 4;
readonly margin: import("../util/types").Margin;
readonly reverseStackOrder: false;
readonly syncMethod: "index";
readonly responsive: false;
readonly cx: "50%";
readonly cy: "50%";
readonly innerRadius: 0;
readonly outerRadius: "80%";
};
/**
* @consumes ResponsiveContainerContext
* @provides PolarViewBoxContext
* @provides PolarChartContext
*/
export declare const RadialBarChart: <DataPointType = any>(props: PolarChartProps<DataPointType> & {
ref?: React.Ref<SVGSVGElement>;
}) => React.ReactElement;