UNPKG

@nova-ui/dashboards

Version:

Nova Dashboards is a framework designed to provide feature developers with a common solution for presenting data coming from various sources within a single view, as well as a set of predefined widget visualizations that are 100% configuration-driven and

16 lines (15 loc) 840 B
import { EventBus, IDataSource, IEvent, IFilteringOutputs } from "@nova-ui/bits"; import { DataSourceAdapter } from "./data-source-adapter"; import { ITimeseriesDataSourceAdapterConfiguration } from "./types"; import { PizzagnaService } from "../../pizzagna/services/pizzagna.service"; export declare class TimeseriesDataSourceAdapter extends DataSourceAdapter { private seriesIndex; constructor(eventBus: EventBus<IEvent>, dataSource: IDataSource, pizzagnaService: PizzagnaService); updateConfiguration(properties: ITimeseriesDataSourceAdapterConfiguration): void; protected processOutput(value: IFilteringOutputs): IFilteringOutputs; /** * Builds the series set by mapping the series selected in the configurator to the data received from the data source. * @param data */ private buildSeriesSet; }