@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
22 lines (21 loc) • 725 B
TypeScript
import { IGaugeLabelsPluginConfig } from "./types";
import { ChartPlugin } from "../../common/chart-plugin";
/**
* A chart plugin that handles the rendering of labels for a donut gauge
*/
export declare class DonutGaugeLabelsPlugin extends ChartPlugin {
config: IGaugeLabelsPluginConfig;
static readonly MARGIN_DEFAULT = 25;
/** The default plugin configuration */
DEFAULT_CONFIG: IGaugeLabelsPluginConfig;
private readonly destroy$;
private lasagnaLayer;
constructor(config?: IGaugeLabelsPluginConfig);
initialize(): void;
update(): void;
updateDimensions(): void;
destroy(): void;
private drawThresholdLabels;
private getTextAnchor;
private getAlignmentBaseline;
}