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

30 lines (29 loc) 1.48 kB
import { ChangeDetectorRef, OnInit, OnChanges, SimpleChanges } from "@angular/core"; import { TimeseriesZoomPluginsSyncService } from "@nova-ui/charts"; import { TimeseriesChartPresetService } from "./timeseries-chart-preset.service"; import { IChartPreset, ITimeseriesOutput, ITimeseriesWidgetConfig, TimeseriesWidgetProjectType, TimeseriesWidgetZoomPlugin } from "./types"; import { IHasChangeDetector } from "../../types"; /** @ignore */ export declare class TimeseriesWidgetComponent implements OnInit, OnChanges, IHasChangeDetector { timeseriesChartPresetService: TimeseriesChartPresetService; changeDetector: ChangeDetectorRef; zoomPluginsSyncService: TimeseriesZoomPluginsSyncService; static lateLoadKey: string; widgetData?: ITimeseriesOutput; configuration?: ITimeseriesWidgetConfig; collectionId?: string; elementClass: string; chartPreset: IChartPreset; zoomPlugins: TimeseriesWidgetZoomPlugin[]; allowPopover: boolean; timeseriesWidgetProjectType: typeof TimeseriesWidgetProjectType; constructor(timeseriesChartPresetService: TimeseriesChartPresetService, changeDetector: ChangeDetectorRef, zoomPluginsSyncService: TimeseriesZoomPluginsSyncService); ngOnInit(): void; private getTimeseriesZoomPlugin; ngOnChanges(changes: SimpleChanges): void; /** Checks if chart should be shown. */ shouldShowChart(): boolean; toggleLeave(): void; toggleEnter(): void; isExploringEnabled(): boolean; }