@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
26 lines (25 loc) • 770 B
TypeScript
import { IScale, ScalesIndex } from "./scales/types";
import { IAccessors, IChart, IChartSeries } from "./types";
/**
* @ignore
*
* Manages data and their domains
*/
export declare class DataManager {
private chart?;
private _chartSeriesSet;
private dataIndex;
private _scalesIndexByKey;
private _scalesIndexById;
get chartSeriesSet(): IChartSeries<IAccessors>[];
get scalesIndexByKey(): ScalesIndex;
get scalesIndexById(): {
[scaleId: string]: IScale<any>;
};
constructor(chart?: IChart | undefined);
update(seriesSet: IChartSeries<IAccessors>[]): void;
getChartSeries(seriesId: string): IChartSeries<IAccessors>;
private updateScaleDomain;
private buildScalesIndex;
updateScaleDomains(): void;
}