import { DataResponse, LoadDataRequest } from '@embeddable.com/core'; import type { ScatterChartProOptionsClickArg } from './ScatterChartPro.types'; import { Inputs } from '@embeddable.com/react'; import { ThemeClientContext } from '../../../../theme/theme.types'; declare const meta: { readonly name: "ScatterChartPro"; readonly label: "Scatter Chart"; readonly description: "Scatter plot showing the relationship between two measures across a grouping dimension. Use to spot correlations."; readonly category: "Scatter Charts"; readonly inputs: [{ readonly name: "dataset"; readonly type: "dataset"; readonly label: "Dataset"; readonly required: true; readonly category: "Component Data"; }, { readonly name: "xMeasure"; readonly label: "X-axis measure"; readonly type: "measure"; readonly config: { readonly dataset: "dataset"; }; readonly required: true; readonly category: "Component Data"; readonly inputs: any[]; }, { readonly name: "yMeasure"; readonly label: "Y-axis measure"; readonly type: "measure"; readonly config: { readonly dataset: "dataset"; }; readonly required: true; readonly category: "Component Data"; readonly inputs: any[]; }, { readonly name: "pointDimension"; readonly label: "Point dimension"; readonly type: "dimension"; readonly config: { readonly dataset: "dataset"; }; readonly required: true; readonly category: "Component Data"; readonly inputs: any[]; }, { readonly name: "groupByDimension"; readonly label: "Group by (optional)"; readonly required: false; readonly type: "dimension"; readonly config: { readonly dataset: "dataset"; }; readonly category: "Component Data"; readonly inputs: any[]; }, { readonly name: "pointColor"; readonly label: "Point color"; readonly category: "Component Settings"; readonly type: import("@embeddable.com/core").EmbeddableType; }, { 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: "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: "showPointLabels"; readonly label: "Show point labels"; readonly defaultValue: false; readonly category: "Component Settings"; readonly type: "boolean"; }, { 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: "xAxisRangeMin"; readonly type: "number"; readonly label: "X-axis range min"; readonly category: "Axes Settings"; }, { readonly name: "xAxisRangeMax"; readonly type: "number"; readonly label: "X-axis range max"; 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: "maxResults"; readonly type: "number"; readonly label: "Max results"; readonly category: "Component Settings"; readonly defaultValue: 1000; }, { 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: "onPointClick"; readonly label: "A point is clicked"; readonly properties: [{ readonly name: "xMeasureValue"; readonly label: "Clicked X measure value"; readonly type: "string"; }, { readonly name: "yMeasureValue"; readonly label: "Clicked Y measure value"; readonly type: "string"; }, { readonly name: "pointDimensionValue"; readonly label: "Clicked point dimension value"; readonly type: "string"; }, { readonly name: "groupByDimensionValue"; readonly label: "Clicked group by value"; readonly type: "string"; }, { readonly name: "pointDimensionTimeRange"; readonly label: "Clicked point dimension time range"; readonly type: "timeRange"; }, { readonly name: "groupByDimensionTimeRange"; readonly label: "Clicked group by time range"; readonly type: "timeRange"; }]; }]; }; export type ScatterChartProState = Record; export declare const scatterChartPro: { readonly Component: (props: import("./index").ScatterChartProProps) => import("react").JSX.Element; readonly meta: { readonly name: "ScatterChartPro"; readonly label: "Scatter Chart"; readonly description: "Scatter plot showing the relationship between two measures across a grouping dimension. Use to spot correlations."; readonly category: "Scatter Charts"; readonly inputs: [{ readonly name: "dataset"; readonly type: "dataset"; readonly label: "Dataset"; readonly required: true; readonly category: "Component Data"; }, { readonly name: "xMeasure"; readonly label: "X-axis measure"; readonly type: "measure"; readonly config: { readonly dataset: "dataset"; }; readonly required: true; readonly category: "Component Data"; readonly inputs: any[]; }, { readonly name: "yMeasure"; readonly label: "Y-axis measure"; readonly type: "measure"; readonly config: { readonly dataset: "dataset"; }; readonly required: true; readonly category: "Component Data"; readonly inputs: any[]; }, { readonly name: "pointDimension"; readonly label: "Point dimension"; readonly type: "dimension"; readonly config: { readonly dataset: "dataset"; }; readonly required: true; readonly category: "Component Data"; readonly inputs: any[]; }, { readonly name: "groupByDimension"; readonly label: "Group by (optional)"; readonly required: false; readonly type: "dimension"; readonly config: { readonly dataset: "dataset"; }; readonly category: "Component Data"; readonly inputs: any[]; }, { readonly name: "pointColor"; readonly label: "Point color"; readonly category: "Component Settings"; readonly type: import("@embeddable.com/core").EmbeddableType; }, { 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: "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: "showPointLabels"; readonly label: "Show point labels"; readonly defaultValue: false; readonly category: "Component Settings"; readonly type: "boolean"; }, { 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: "xAxisRangeMin"; readonly type: "number"; readonly label: "X-axis range min"; readonly category: "Axes Settings"; }, { readonly name: "xAxisRangeMax"; readonly type: "number"; readonly label: "X-axis range max"; 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: "maxResults"; readonly type: "number"; readonly label: "Max results"; readonly category: "Component Settings"; readonly defaultValue: 1000; }, { 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: "onPointClick"; readonly label: "A point is clicked"; readonly properties: [{ readonly name: "xMeasureValue"; readonly label: "Clicked X measure value"; readonly type: "string"; }, { readonly name: "yMeasureValue"; readonly label: "Clicked Y measure value"; readonly type: "string"; }, { readonly name: "pointDimensionValue"; readonly label: "Clicked point dimension value"; readonly type: "string"; }, { readonly name: "groupByDimensionValue"; readonly label: "Clicked group by value"; readonly type: "string"; }, { readonly name: "pointDimensionTimeRange"; readonly label: "Clicked point dimension time range"; readonly type: "timeRange"; }, { readonly name: "groupByDimensionTimeRange"; readonly label: "Clicked group by time range"; readonly type: "timeRange"; }]; }]; }; readonly preview: { ({ embeddableTheme, }: { embeddableTheme: any; }): React.JSX.Element; displayName: string; }; readonly previewConfig: { dataset: { embeddableId: string; datasetId: string; inputName: string; variableValues: {}; }; xMeasure: import("@embeddable.com/core").Measure; yMeasure: import("@embeddable.com/core").Measure; pointDimension: import("@embeddable.com/core").Dimension; results: DataResponse; showLegend: boolean; hideMenu: boolean; }; readonly config: { readonly props: (inputs: Inputs, [_state, _setState]: [ScatterChartProState, (state: ScatterChartProState) => void], clientContext: ThemeClientContext) => { pointColor: string | undefined; results: DataResponse; title: string; description: string; tooltip: string; dataset: import("@embeddable.com/core").Dataset; maxResults: number; showLegend: boolean; showTooltips: boolean; showValueLabels: boolean; showLogarithmicScale: boolean; xAxisLabel: string; yAxisLabel: string; reverseXAxis: boolean; yAxisRangeMin: number; yAxisRangeMax: number; xAxisRangeMin: number; xAxisRangeMax: number; xMeasure: import("@embeddable.com/core").Measure; yMeasure: import("@embeddable.com/core").Measure; menuOptions: unknown[]; pointDimension: import("@embeddable.com/core").Dimension; groupByDimension: import("@embeddable.com/core").Dimension; showPointLabels: boolean; onPointClick: () => void; }; readonly events: { onPointClick: (value: ScatterChartProOptionsClickArg) => { xMeasureValue: string; yMeasureValue: string; pointDimensionValue: string; groupByDimensionValue: string | { operation: "NO_FILTER" | "VALUE"; value?: unknown; __embeddableVariableMeta: true; }; }; }; }; readonly results: { readonly loadDataArgs: (inputs: Inputs, clientContext?: ThemeClientContext) => LoadDataRequest; readonly loadData: (inputs: Inputs, clientContext: ThemeClientContext) => DataResponse; }; }; export {}; //# sourceMappingURL=definition.d.ts.map