@spaced-out/ui-design-system
Version:
Sense UI components library
21 lines • 754 B
TypeScript
import type { ChartOptions, LegendOptionsType } from '../../types/charts';
interface DonutChartPropsType {
legend?: LegendOptionsType;
defaultCenterHTML?: string;
}
export declare const rightLegendColumn: {
readonly layout: "vertical";
readonly align: "right";
readonly verticalAlign: "middle";
readonly itemMarginBottom: 12;
readonly symbolPadding: 8;
readonly symbolWidth: 8;
readonly width: "36%";
};
/**
* This function modifies the the common chart behavior to donut chart default behavior.
* It will not take userPassed option into account.
*/
export declare const getDonutChartOptions: ({ legend, defaultCenterHTML, }: DonutChartPropsType) => ChartOptions;
export {};
//# sourceMappingURL=donutChart.d.ts.map