import { DataResponse, Dimension, Granularity, LoadDataRequest } from '@embeddable.com/core'; import { Inputs } from '@embeddable.com/react'; import { LineChartGroupedProOptionsClickArg } from '../lines.types'; import { ThemeClientContext } from '../../../../theme/theme.types'; declare const meta: { readonly name: "LineChartGroupedPro"; readonly label: "Line Chart - Grouped"; readonly description: "Line chart split into multiple lines by a grouping dimension — one time dim + one grouping dim + one measure."; readonly category: "Line Charts"; readonly inputs: [{ readonly name: "dataset"; readonly type: "dataset"; readonly label: "Dataset"; readonly required: true; readonly category: "Component Data"; }, { readonly inputs: [...any[], { readonly name: "fillUnderLine"; readonly label: "Fill under line"; readonly category: "Component Settings"; readonly type: "boolean"; }, { readonly name: "connectGaps"; readonly label: "Connect gaps"; readonly defaultValue: true; readonly category: "Component Settings"; readonly type: "boolean"; }]; readonly name: "measure"; readonly type: "measure"; readonly label: "Measure"; readonly config: { readonly dataset: "dataset"; }; readonly required: true; readonly category: "Component Data"; }, { readonly name: "xAxis"; readonly label: "X-axis"; readonly type: "dimension"; readonly config: { readonly dataset: "dataset"; }; readonly required: true; readonly category: "Component Data"; readonly inputs: any[]; }, { readonly name: "groupBy"; readonly label: "Group by"; readonly type: "dimension"; readonly config: { readonly dataset: "dataset"; }; readonly required: true; readonly category: "Component Data"; readonly inputs: any[]; }, { readonly name: "title"; readonly type: "string"; readonly label: "Title"; readonly category: "Component Header"; }, { readonly name: "description"; readonly type: "string"; readonly label: "Description"; readonly category: "Component Header"; }, { readonly name: "tooltip"; readonly type: "string"; readonly label: "Tooltip"; readonly category: "Component Header"; }, { readonly name: "maxResults"; readonly type: "number"; readonly label: "Max results"; readonly category: "Component Settings"; readonly defaultValue: 1000; }, { readonly name: "showLegend"; readonly type: "boolean"; readonly label: "Show legend"; readonly defaultValue: true; readonly category: "Component Settings"; }, { readonly name: "showTooltips"; readonly type: "boolean"; readonly label: "Show tooltips"; readonly defaultValue: true; readonly category: "Component Settings"; }, { readonly name: "showValueLabels"; readonly type: "boolean"; readonly label: "Show value labels"; readonly defaultValue: true; readonly category: "Component Settings"; }, { readonly name: "showLogarithmicScale"; readonly type: "boolean"; readonly label: "Show logarithmic scale"; readonly defaultValue: false; readonly category: "Component Settings"; }, { readonly name: "xAxisLabel"; readonly type: "string"; readonly label: "X-axis Label"; readonly category: "Axes Settings"; }, { readonly name: "yAxisLabel"; readonly type: "string"; readonly label: "Y-axis label"; readonly category: "Axes Settings"; }, { readonly name: "reverseXAxis"; readonly type: "boolean"; readonly label: "Reverse x-axis"; readonly defaultValue: false; readonly category: "Axes Settings"; }, { readonly name: "yAxisRangeMin"; readonly type: "number"; readonly label: "Y-axis range min"; readonly category: "Axes Settings"; }, { readonly name: "yAxisRangeMax"; readonly type: "number"; readonly label: "Y-axis range max"; readonly category: "Axes Settings"; }, { readonly name: "menuOptions"; readonly type: import("@embeddable.com/core").EmbeddableType; readonly label: "Menu options"; readonly array: true; readonly defaultValue: readonly ["csv", "xlsx", "png"]; readonly category: "Component Settings"; }]; readonly events: [{ readonly name: "onLineClicked"; readonly label: "A line is clicked"; readonly properties: [{ readonly name: "axisDimensionValue"; readonly label: "Clicked axis dimension value"; readonly type: "string"; }, { readonly name: "axisDimensionTimeRange"; readonly label: "Clicked axis dimension time range"; readonly type: "timeRange"; }, { readonly name: "groupingDimensionValue"; readonly label: "Clicked grouping dimension value"; readonly type: "string"; }, { readonly name: "groupingDimensionTimeRange"; readonly label: "Clicked grouping dimension time range"; readonly type: "timeRange"; }]; }]; }; export type LineChartGroupedProState = { granularity?: Granularity; }; export declare const lineChartGroupedPro: { readonly Component: (props: import("./index").LineChartGroupedProProp) => import("react").JSX.Element; readonly meta: { readonly name: "LineChartGroupedPro"; readonly label: "Line Chart - Grouped"; readonly description: "Line chart split into multiple lines by a grouping dimension — one time dim + one grouping dim + one measure."; readonly category: "Line Charts"; readonly inputs: [{ readonly name: "dataset"; readonly type: "dataset"; readonly label: "Dataset"; readonly required: true; readonly category: "Component Data"; }, { readonly inputs: [...any[], { readonly name: "fillUnderLine"; readonly label: "Fill under line"; readonly category: "Component Settings"; readonly type: "boolean"; }, { readonly name: "connectGaps"; readonly label: "Connect gaps"; readonly defaultValue: true; readonly category: "Component Settings"; readonly type: "boolean"; }]; readonly name: "measure"; readonly type: "measure"; readonly label: "Measure"; readonly config: { readonly dataset: "dataset"; }; readonly required: true; readonly category: "Component Data"; }, { readonly name: "xAxis"; readonly label: "X-axis"; readonly type: "dimension"; readonly config: { readonly dataset: "dataset"; }; readonly required: true; readonly category: "Component Data"; readonly inputs: any[]; }, { readonly name: "groupBy"; readonly label: "Group by"; readonly type: "dimension"; readonly config: { readonly dataset: "dataset"; }; readonly required: true; readonly category: "Component Data"; readonly inputs: any[]; }, { readonly name: "title"; readonly type: "string"; readonly label: "Title"; readonly category: "Component Header"; }, { readonly name: "description"; readonly type: "string"; readonly label: "Description"; readonly category: "Component Header"; }, { readonly name: "tooltip"; readonly type: "string"; readonly label: "Tooltip"; readonly category: "Component Header"; }, { readonly name: "maxResults"; readonly type: "number"; readonly label: "Max results"; readonly category: "Component Settings"; readonly defaultValue: 1000; }, { readonly name: "showLegend"; readonly type: "boolean"; readonly label: "Show legend"; readonly defaultValue: true; readonly category: "Component Settings"; }, { readonly name: "showTooltips"; readonly type: "boolean"; readonly label: "Show tooltips"; readonly defaultValue: true; readonly category: "Component Settings"; }, { readonly name: "showValueLabels"; readonly type: "boolean"; readonly label: "Show value labels"; readonly defaultValue: true; readonly category: "Component Settings"; }, { readonly name: "showLogarithmicScale"; readonly type: "boolean"; readonly label: "Show logarithmic scale"; readonly defaultValue: false; readonly category: "Component Settings"; }, { readonly name: "xAxisLabel"; readonly type: "string"; readonly label: "X-axis Label"; readonly category: "Axes Settings"; }, { readonly name: "yAxisLabel"; readonly type: "string"; readonly label: "Y-axis label"; readonly category: "Axes Settings"; }, { readonly name: "reverseXAxis"; readonly type: "boolean"; readonly label: "Reverse x-axis"; readonly defaultValue: false; readonly category: "Axes Settings"; }, { readonly name: "yAxisRangeMin"; readonly type: "number"; readonly label: "Y-axis range min"; readonly category: "Axes Settings"; }, { readonly name: "yAxisRangeMax"; readonly type: "number"; readonly label: "Y-axis range max"; readonly category: "Axes Settings"; }, { readonly name: "menuOptions"; readonly type: import("@embeddable.com/core").EmbeddableType; readonly label: "Menu options"; readonly array: true; readonly defaultValue: readonly ["csv", "xlsx", "png"]; readonly category: "Component Settings"; }]; readonly events: [{ readonly name: "onLineClicked"; readonly label: "A line is clicked"; readonly properties: [{ readonly name: "axisDimensionValue"; readonly label: "Clicked axis dimension value"; readonly type: "string"; }, { readonly name: "axisDimensionTimeRange"; readonly label: "Clicked axis dimension time range"; readonly type: "timeRange"; }, { readonly name: "groupingDimensionValue"; readonly label: "Clicked grouping dimension value"; readonly type: "string"; }, { readonly name: "groupingDimensionTimeRange"; readonly label: "Clicked grouping dimension time range"; readonly type: "timeRange"; }]; }]; }; readonly preview: { ({ embeddableTheme, }: { embeddableTheme: any; }): React.JSX.Element; displayName: string; }; readonly previewConfig: { xAxis: Dimension; groupBy: Dimension; measure: import("@embeddable.com/core").Measure; results: DataResponse; hideMenu: boolean; }; readonly config: { readonly props: (inputs: Inputs, [state, setState]: [LineChartGroupedProState, (state: LineChartGroupedProState) => void], clientContext: ThemeClientContext) => { xAxis: Dimension; granularity: "second" | "minute" | "hour" | "day" | "week" | "month" | "quarter" | "year" | undefined; setGranularity: (granularity: Granularity) => void; results: DataResponse; title: string; description: string; tooltip: string; dataset: import("@embeddable.com/core").Dataset; groupBy: Dimension; maxResults: number; showLegend: boolean; showTooltips: boolean; showValueLabels: boolean; showLogarithmicScale: boolean; xAxisLabel: string; yAxisLabel: string; reverseXAxis: boolean; yAxisRangeMin: number; yAxisRangeMax: number; menuOptions: unknown[]; measure: import("@embeddable.com/core").Measure; onLineClicked: () => void; }; readonly events: { onLineClicked: (value: LineChartGroupedProOptionsClickArg) => { axisDimensionValue: string | number | { operation: "NO_FILTER" | "VALUE"; value?: unknown; __embeddableVariableMeta: true; }; axisDimensionTimeRange: import("@embeddable.com/core").TimeRangeDeserializedValue | { operation: "NO_FILTER" | "VALUE"; value?: unknown; __embeddableVariableMeta: true; }; groupingDimensionValue: string | boolean | { operation: "NO_FILTER" | "VALUE"; value?: unknown; __embeddableVariableMeta: true; }; groupingDimensionTimeRange: import("@embeddable.com/core").TimeRangeDeserializedValue | { operation: "NO_FILTER" | "VALUE"; value?: unknown; __embeddableVariableMeta: true; }; }; }; }; readonly results: { readonly loadDataArgs: (inputs: Inputs, xAxis?: Dimension, clientContext?: ThemeClientContext) => LoadDataRequest; readonly loadData: (inputs: Inputs, xAxis: Dimension, clientContext: ThemeClientContext) => DataResponse; }; }; export {}; //# sourceMappingURL=definition.d.ts.map