@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
33 lines (32 loc) • 2 kB
TypeScript
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";
import * as i0 from "@angular/core";
/** @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;
static ɵfac: i0.ɵɵFactoryDeclaration<TimeseriesWidgetComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<TimeseriesWidgetComponent, "nui-timeseries-widget", never, { "widgetData": { "alias": "widgetData"; "required": false; }; "configuration": { "alias": "configuration"; "required": false; }; "collectionId": { "alias": "collectionId"; "required": false; }; "elementClass": { "alias": "elementClass"; "required": false; }; }, {}, never, never, false, never>;
}