@nova-ui/charts
Version:
Nova Charts is a library created to provide potential consumers with solutions for various data visualizations that conform with the Nova Design Language. It's designed to solve common patterns identified by UX designers, but also be very flexible so that
16 lines (15 loc) • 572 B
TypeScript
import { Subject } from "rxjs";
import { IElementPosition } from "./types";
import { ChartPlugin } from "../common/chart-plugin";
/**
* This plugin calculates new size and position for content inside donut chart
*/
export declare class ChartDonutContentPlugin extends ChartPlugin {
/** Subject for getting updates on the content position */
contentPositionUpdateSubject: Subject<IElementPosition>;
/** The current content position */
contentPosition: IElementPosition;
updateDimensions(): void;
destroy(): void;
private getContentPosition;
}