@hpcc-js/composite
Version:
hpcc-js - Viz Composite
145 lines • 4.16 kB
TypeScript
import { Database, Text } from "@hpcc-js/common";
import { Border } from "@hpcc-js/layout";
import { Legend } from "@hpcc-js/other";
import "d3-transition";
import { MultiChart } from "./MultiChart";
import "../src/MegaChart.css";
export declare class MegaChart extends Border {
_chart: MultiChart;
_toolbar: any;
_valueTitle: Text;
_domainTitle: Text;
_legend: Legend;
_csvButton: any;
_infoButton: any;
_maximizeButton: any;
_legendButton: any;
_chartTypeSelect: any;
_prevLegendPosition: any;
_prevShowToolbar: any;
_1DChartTypes: any;
_2DChartTypes: any;
_NDChartTypes: any;
_anyChartTypes: any;
_allChartTypes: any;
_contentClasses: any;
_dataCount: any;
constructor();
toolbarWidgets(_?: any): any;
chartTypeDefaults(_?: any): object;
chartTypeProperties(_?: any): object;
fields(): Database.Field[];
fields(_: Database.Field[]): this;
columns(): string[];
columns(_: string[], asDefault?: boolean): this;
data(_?: any): any;
downloadCSV(): this;
enter(domNode: any, element: any): void;
update(domNode: any, element: any): void;
exit(domNode: any, element: any): void;
getContentClasses(): any;
serializeState(): any;
deserializeState(state: any): this;
click(row: any, column: any, selected: any): void;
dblclick(row: any, column: any, selected: any): void;
vertex_click(row: any, col: any, sel: any, more: any): void;
vertex_dblclick(row: any, col: any, sel: any, more: any): void;
edge_click(row: any, col: any, sel: any, more: any): void;
edge_dblclick(row: any, col: any, sel: any, more: any): void;
showToolbar: {
(): boolean;
(_: boolean): MegaChart;
};
showToolbar_exists: () => boolean;
titleFontSize: {
(): number;
(_: number): MegaChart;
};
titleFontSize_exists: () => boolean;
titleFontColor: {
(): string;
(_: string): MegaChart;
};
titleFontColor_exists: () => boolean;
titleFontFamily: {
(): string;
(_: string): MegaChart;
};
titleFontFamily_exists: () => boolean;
titleFontBold: {
(): boolean;
(_: boolean): MegaChart;
};
titleFontBold_exists: () => boolean;
titleBackgroundColor: {
(): string;
(_: string): MegaChart;
};
titleBackgroundColor_exists: () => boolean;
maximizedBackgroundColor: {
(): string;
(_: string): MegaChart;
};
maximizedBackgroundColor_exists: () => boolean;
showChartSelect: {
(): boolean;
(_: boolean): MegaChart;
};
showChartSelect_exists: () => boolean;
showCSV: {
(): boolean;
(_: boolean): MegaChart;
};
showCSV_exists: () => boolean;
showMaximize: {
(): boolean;
(_: boolean): MegaChart;
};
showMaximize_exists: () => boolean;
toolbarShowLegend: {
(): boolean;
(_: boolean): MegaChart;
};
toolbarShowLegend_exists: () => boolean;
showInfoButton: {
(): boolean;
(_: boolean): MegaChart;
};
showInfoButton_exists: () => boolean;
infoIcon: {
(): string;
(_: string): MegaChart;
};
infoIcon_exists: () => boolean;
legendPosition: {
(): string;
(_: string): MegaChart;
};
legendPosition_exists: () => boolean;
title: {
(): string;
(_: string): MegaChart;
};
title_exists: () => boolean;
domainAxisTitle: {
(): string;
(_: string): MegaChart;
};
domainAxisTitle_exists: () => boolean;
valueAxisTitle: {
(): string;
(_: string): MegaChart;
};
valueAxisTitle_exists: () => boolean;
chartType: {
(): string;
(_: string): MegaChart;
};
chartType_exists: () => boolean;
chart: {
(): any;
(_: any): MegaChart;
};
chart_exists: () => boolean;
}
//# sourceMappingURL=MegaChart.d.ts.map