pagamio-frontend-commons-lib
Version:
Pagamio library for Frontend reusable components like the form engine and table container
23 lines (22 loc) • 588 B
TypeScript
import React from 'react';
interface ChartFormatterProps {
metricData: any[];
xAxisDataValueKey: string;
seriesDataNameKey: string;
seriesDataValueKey: string;
chartType: 'bar' | 'line';
chartOptions: any;
chartHeight?: string | number;
notMerge?: boolean;
stacked?: boolean;
smooth?: boolean;
symbolConfig?: {
symbol?: string;
size?: number;
color?: string;
borderColor?: string;
borderWidth?: number;
};
}
declare const ChartFormatter: React.FC<ChartFormatterProps>;
export default ChartFormatter;