@devgateway/dvz-ui-react
Version:
A modular, embeddable React component library for data visualization and UI, built with TypeScript. Provides reusable components for charts, maps, dashboards, and more, with built-in support for internationalization and Redux integration.
20 lines (19 loc) • 451 B
TypeScript
export function buildBarOptions(data: any, includeTotal: any): {
maxValue: number;
indexBy: any;
keys: any[];
data: {
Yes: number;
}[];
} | null;
export function buildPieOptions(data: any, includeTotal: any): {
data: any[];
} | undefined;
export function buildDivergingOptions(data: any, includeTotal: any): {
data: {
Yes: number;
}[];
maxValue: number;
indexBy: any;
keys: any[];
} | null;