com.phloxui
Version:
PhloxUI Ng2+ Framework
53 lines (52 loc) • 2.27 kB
TypeScript
import { OnInit, ElementRef, EventEmitter } from '@angular/core';
import { AbstractDataView } from './AbstractDataView';
import { IHasModel } from '../IHasModel';
import { PhloxDataChartModel } from '.././model/models';
export declare class PhloxChart extends AbstractDataView implements IHasModel, OnInit {
static readonly TYPE_NAME: string;
protected chartReadyEvent: EventEmitter<any>;
protected chartErrorEvent: EventEmitter<any>;
protected beforeChartSelectEvent: EventEmitter<any>;
protected chartSelectEvent: EventEmitter<any>;
protected beforeChartMouseOverEvent: EventEmitter<any>;
protected chartMouseOverEvent: EventEmitter<any>;
protected beforeChartMouseOutEvent: EventEmitter<any>;
protected chartMouseOutEvent: EventEmitter<any>;
protected dataTable: any[];
protected chartType: string;
protected formatters: any[];
protected title: string;
protected subtitle: string;
protected options: any;
protected width: string;
protected height: string;
protected cols: any[];
protected rows: any[];
protected model: PhloxDataChartModel;
constructor(elementRef: ElementRef);
ngOnInit(): void;
isSelfDataDirty(): boolean;
selfSaveData(data: any): void;
selfResetData(): void;
doPreload(): Promise<any>;
doLoaded(): void;
reloadData(dataTable: any[]): void;
onChartSelectEvent(event: any, fireEvent?: boolean): void;
protected emitBeforeChartSelectEvent($event: Event): void;
protected emitChartSelectEvent($event: Event): void;
protected emitChartReadyEvent($event: Event): void;
protected emitChartErrorEvent($event: Event): void;
onChartReadyEvent(event: any, fireEvent?: boolean): void;
onChartErrorEvent(event: any, fireEvent?: boolean): void;
getchartReadyEvent(): EventEmitter<any>;
getchartErrorEvent(): EventEmitter<any>;
getchartSelectEvent(): EventEmitter<any>;
getchartMouseOverEvent(): EventEmitter<any>;
getchartMouseOutEvent(): EventEmitter<any>;
setOptions(options: any): void;
setChartType(chartType: string): void;
setTitle(title: string): void;
setSubtitle(subtitle: string): void;
getModel(): PhloxDataChartModel;
setModel(model: PhloxDataChartModel): void;
}