bento-charts
Version:
Charts library for Bento-platform
7 lines (6 loc) • 490 B
TypeScript
import type { CategoricalChartDataWithTransforms } from '../types/chartTypes';
export declare const polarToCartesian: (cx: number, cy: number, radius: number, angle: number) => {
x: number;
y: number;
};
export declare const useTransformedChartData: ({ data: originalData, preFilter, dataMap, postFilter, removeEmpty: origRemoveEmpty, }: CategoricalChartDataWithTransforms, defaultRemoveEmpty?: boolean, sortY?: boolean) => import("../types/chartTypes").CategoricalChartDataItem[];