import { Dimension, Granularity, LoadDataRequest, TimeRange } from '@embeddable.com/core'; import { Inputs } from '@embeddable.com/react'; import { LineChartProOptionsClickArg } from '../lines.types'; import { ThemeClientContext } from '../../../../theme/theme.types'; import { LineChartComparisonDefaultProState } from '../LineChartComparisonDefaultPro/definition'; declare const meta: { readonly name: "LineChartComparisonWithKpiTabsPro"; readonly label: "Line Chart Comparison - With KPI Tabs"; readonly description: "Line chart with comparison overlay and KPI tabs. Takes one or more measures, a time dimension, a timeRange variable, and a comparison period."; readonly defaultHeight: 526; readonly defaultWidth: 1280; readonly inputs: ({ 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: "dataset"; readonly type: "dataset"; readonly label: "Dataset"; readonly required: true; readonly category: "Component Data"; } | { 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 inputs: [...any[], { readonly name: "fillUnderLine"; readonly label: "Fill under line"; readonly type: "boolean"; }, { readonly category: "Component Settings"; readonly name: "lineColor"; readonly label: "Line color"; readonly type: import("@embeddable.com/core").EmbeddableType; }, { readonly category: "Component Settings"; readonly name: "previousLineColor"; readonly label: "Previous line color"; readonly type: import("@embeddable.com/core").EmbeddableType; }, { readonly name: "lineDashed"; readonly label: "Primary line dashed"; readonly defaultValue: false; readonly type: "boolean"; }, { readonly name: "previousLineDashed"; readonly label: "Compared line dashed"; readonly defaultValue: true; readonly type: "boolean"; }, { readonly name: "connectGaps"; readonly label: "Connect gaps"; readonly defaultValue: true; readonly type: "boolean"; }]; readonly name: "measures"; readonly type: "measure"; readonly label: "Measures"; readonly array: true; readonly config: { readonly dataset: "dataset"; }; readonly required: true; readonly category: "Component Data"; } | { readonly label: "X-axis"; readonly name: "xAxis"; readonly type: "dimension"; readonly config: { readonly dataset: "dataset"; }; readonly required: true; readonly category: "Component Data"; readonly inputs: any[]; } | { readonly name: "primaryDateRange"; readonly label: "Primary date-range"; readonly description: "The comparison period is derived internally using this date range — do not also apply a date filter on the underlying dataset"; readonly category: "Component Data"; readonly type: "timeRange"; } | { readonly description: "You can also connect this to a comparison period selector using its variable"; readonly category: "Component Data"; readonly name: string; readonly type: import("@embeddable.com/core").EmbeddableType; readonly label: string; } | { readonly name: "timePropertyForNonTimeDimensions"; readonly label: "Time property for non time dimensions"; readonly description: "Choose the time property used for filtering comparison ranges. This will be ignored if your x-axis is already time-based."; readonly required: false; readonly type: "dimension"; readonly config: { readonly dataset: "dataset"; readonly supportedTypes: readonly ["time"]; readonly hideGranularity: true; }; readonly category: "Component Data"; } | { readonly name: "showComparisonAxis"; readonly label: "Display a comparison X-axis"; readonly defaultValue: true; readonly category: "Component Settings"; readonly type: "boolean"; } | { inputs: any[]; name: "measures"; type: "measure"; label: "Measures"; array: true; config: { readonly dataset: "dataset"; }; required: true; category: "Component Data"; })[]; readonly category: "Line Charts"; 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: "measureValue"; readonly label: "Clicked measure value"; readonly type: "number"; }]; }]; }; export type LineChartComparisonWithKpiTabsProState = LineChartComparisonDefaultProState; export declare const lineChartComparisonWithKpiTabsPro: { readonly Component: (props: import("./index").LineChartComparisonWithKpiTabsProProps) => import("react").JSX.Element; readonly meta: { readonly name: "LineChartComparisonWithKpiTabsPro"; readonly label: "Line Chart Comparison - With KPI Tabs"; readonly description: "Line chart with comparison overlay and KPI tabs. Takes one or more measures, a time dimension, a timeRange variable, and a comparison period."; readonly defaultHeight: 526; readonly defaultWidth: 1280; readonly inputs: ({ 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: "dataset"; readonly type: "dataset"; readonly label: "Dataset"; readonly required: true; readonly category: "Component Data"; } | { 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 inputs: [...any[], { readonly name: "fillUnderLine"; readonly label: "Fill under line"; readonly type: "boolean"; }, { readonly category: "Component Settings"; readonly name: "lineColor"; readonly label: "Line color"; readonly type: import("@embeddable.com/core").EmbeddableType; }, { readonly category: "Component Settings"; readonly name: "previousLineColor"; readonly label: "Previous line color"; readonly type: import("@embeddable.com/core").EmbeddableType; }, { readonly name: "lineDashed"; readonly label: "Primary line dashed"; readonly defaultValue: false; readonly type: "boolean"; }, { readonly name: "previousLineDashed"; readonly label: "Compared line dashed"; readonly defaultValue: true; readonly type: "boolean"; }, { readonly name: "connectGaps"; readonly label: "Connect gaps"; readonly defaultValue: true; readonly type: "boolean"; }]; readonly name: "measures"; readonly type: "measure"; readonly label: "Measures"; readonly array: true; readonly config: { readonly dataset: "dataset"; }; readonly required: true; readonly category: "Component Data"; } | { readonly label: "X-axis"; readonly name: "xAxis"; readonly type: "dimension"; readonly config: { readonly dataset: "dataset"; }; readonly required: true; readonly category: "Component Data"; readonly inputs: any[]; } | { readonly name: "primaryDateRange"; readonly label: "Primary date-range"; readonly description: "The comparison period is derived internally using this date range — do not also apply a date filter on the underlying dataset"; readonly category: "Component Data"; readonly type: "timeRange"; } | { readonly description: "You can also connect this to a comparison period selector using its variable"; readonly category: "Component Data"; readonly name: string; readonly type: import("@embeddable.com/core").EmbeddableType; readonly label: string; } | { readonly name: "timePropertyForNonTimeDimensions"; readonly label: "Time property for non time dimensions"; readonly description: "Choose the time property used for filtering comparison ranges. This will be ignored if your x-axis is already time-based."; readonly required: false; readonly type: "dimension"; readonly config: { readonly dataset: "dataset"; readonly supportedTypes: readonly ["time"]; readonly hideGranularity: true; }; readonly category: "Component Data"; } | { readonly name: "showComparisonAxis"; readonly label: "Display a comparison X-axis"; readonly defaultValue: true; readonly category: "Component Settings"; readonly type: "boolean"; } | { inputs: any[]; name: "measures"; type: "measure"; label: "Measures"; array: true; config: { readonly dataset: "dataset"; }; required: true; category: "Component Data"; })[]; readonly category: "Line Charts"; 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: "measureValue"; readonly label: "Clicked measure value"; readonly type: "number"; }]; }]; }; readonly preview: { ({ embeddableTheme, }: { embeddableTheme: any; }): React.JSX.Element; displayName: string; }; readonly previewConfig: { xAxis: Dimension; measures: import("@embeddable.com/core").Measure[]; results: import("@embeddable.com/core").DataResponse; resultsComparison: import("@embeddable.com/core").DataResponse; resultsKpis: import("@embeddable.com/core").DataResponse; resultsKpisComparison: import("@embeddable.com/core").DataResponse; comparisonPeriod: string; comparisonDateRange: { relativeTimeString: string; from: undefined; to: undefined; }; primaryDateRange: { relativeTimeString: string; from: undefined; to: undefined; }; hideMenu: boolean; }; readonly config: { readonly props: (inputs: Inputs, [state, setState]: [LineChartComparisonWithKpiTabsProState, (state: LineChartComparisonWithKpiTabsProState) => void], clientContext: ThemeClientContext) => { xAxis: Dimension; setGranularity: (granularity: Granularity) => void; comparisonDateRange: TimeRange; setComparisonDateRange: (comparisonDateRange: TimeRange) => void; results: import("@embeddable.com/core").DataResponse; resultsComparison: import("@embeddable.com/core").DataResponse | undefined; resultsKpis: import("@embeddable.com/core").DataResponse; resultsKpisComparison: import("@embeddable.com/core").DataResponse | undefined; 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; menuOptions: unknown[]; measures: import("@embeddable.com/core").Measure[]; primaryDateRange: TimeRange; timePropertyForNonTimeDimensions: Dimension; showComparisonAxis: boolean; onLineClicked: () => void; }; readonly events: { onLineClicked: (value: LineChartProOptionsClickArg) => { 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; }; }; }; }; readonly results: { readonly loadDataArgs: (inputs: Inputs<{ readonly name: "LineChartComparisonDefaultPro"; readonly label: "Line Chart Comparison - Default"; readonly description: "Line chart overlaying the current period and a comparison period. Pairs with a comparisonPeriod variable and a timeRange variable."; 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 type: "boolean"; }, { readonly category: "Component Settings"; readonly name: "lineColor"; readonly label: "Line color"; readonly type: import("@embeddable.com/core").EmbeddableType; }, { readonly category: "Component Settings"; readonly name: "previousLineColor"; readonly label: "Previous line color"; readonly type: import("@embeddable.com/core").EmbeddableType; }, { readonly name: "lineDashed"; readonly label: "Primary line dashed"; readonly defaultValue: false; readonly type: "boolean"; }, { readonly name: "previousLineDashed"; readonly label: "Compared line dashed"; readonly defaultValue: true; readonly type: "boolean"; }, { readonly name: "connectGaps"; readonly label: "Connect gaps"; readonly defaultValue: true; readonly type: "boolean"; }]; readonly name: "measures"; readonly type: "measure"; readonly label: "Measures"; readonly array: true; readonly config: { readonly dataset: "dataset"; }; readonly required: true; readonly category: "Component Data"; }, { readonly label: "X-axis"; readonly name: "xAxis"; readonly type: "dimension"; readonly config: { readonly dataset: "dataset"; }; readonly required: true; readonly category: "Component Data"; readonly inputs: any[]; }, { readonly name: "primaryDateRange"; readonly label: "Primary date-range"; readonly description: "The comparison period is derived internally using this date range — do not also apply a date filter on the underlying dataset"; readonly category: "Component Data"; readonly type: "timeRange"; }, { readonly description: "You can also connect this to a comparison period selector using its variable"; readonly category: "Component Data"; readonly name: string; readonly type: import("@embeddable.com/core").EmbeddableType; readonly label: string; }, { readonly name: "timePropertyForNonTimeDimensions"; readonly label: "Time property for non time dimensions"; readonly description: "Choose the time property used for filtering comparison ranges. This will be ignored if your x-axis is already time-based."; readonly required: false; readonly type: "dimension"; readonly config: { readonly dataset: "dataset"; readonly supportedTypes: readonly ["time"]; readonly hideGranularity: true; }; readonly category: "Component Data"; }, { 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: "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: "showComparisonAxis"; readonly label: "Display a comparison X-axis"; readonly defaultValue: true; readonly category: "Component Settings"; readonly type: "boolean"; }, { 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: "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: "measureValue"; readonly label: "Clicked measure value"; readonly type: "number"; }]; }]; }>, xAxis?: Dimension, clientContext?: ThemeClientContext) => LoadDataRequest; readonly loadData: (inputs: Inputs<{ readonly name: "LineChartComparisonDefaultPro"; readonly label: "Line Chart Comparison - Default"; readonly description: "Line chart overlaying the current period and a comparison period. Pairs with a comparisonPeriod variable and a timeRange variable."; 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 type: "boolean"; }, { readonly category: "Component Settings"; readonly name: "lineColor"; readonly label: "Line color"; readonly type: import("@embeddable.com/core").EmbeddableType; }, { readonly category: "Component Settings"; readonly name: "previousLineColor"; readonly label: "Previous line color"; readonly type: import("@embeddable.com/core").EmbeddableType; }, { readonly name: "lineDashed"; readonly label: "Primary line dashed"; readonly defaultValue: false; readonly type: "boolean"; }, { readonly name: "previousLineDashed"; readonly label: "Compared line dashed"; readonly defaultValue: true; readonly type: "boolean"; }, { readonly name: "connectGaps"; readonly label: "Connect gaps"; readonly defaultValue: true; readonly type: "boolean"; }]; readonly name: "measures"; readonly type: "measure"; readonly label: "Measures"; readonly array: true; readonly config: { readonly dataset: "dataset"; }; readonly required: true; readonly category: "Component Data"; }, { readonly label: "X-axis"; readonly name: "xAxis"; readonly type: "dimension"; readonly config: { readonly dataset: "dataset"; }; readonly required: true; readonly category: "Component Data"; readonly inputs: any[]; }, { readonly name: "primaryDateRange"; readonly label: "Primary date-range"; readonly description: "The comparison period is derived internally using this date range — do not also apply a date filter on the underlying dataset"; readonly category: "Component Data"; readonly type: "timeRange"; }, { readonly description: "You can also connect this to a comparison period selector using its variable"; readonly category: "Component Data"; readonly name: string; readonly type: import("@embeddable.com/core").EmbeddableType; readonly label: string; }, { readonly name: "timePropertyForNonTimeDimensions"; readonly label: "Time property for non time dimensions"; readonly description: "Choose the time property used for filtering comparison ranges. This will be ignored if your x-axis is already time-based."; readonly required: false; readonly type: "dimension"; readonly config: { readonly dataset: "dataset"; readonly supportedTypes: readonly ["time"]; readonly hideGranularity: true; }; readonly category: "Component Data"; }, { 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: "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: "showComparisonAxis"; readonly label: "Display a comparison X-axis"; readonly defaultValue: true; readonly category: "Component Settings"; readonly type: "boolean"; }, { 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: "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: "measureValue"; readonly label: "Clicked measure value"; readonly type: "number"; }]; }]; }>, xAxis: Dimension, clientContext: ThemeClientContext) => import("@embeddable.com/core").DataResponse; }; readonly resultsComparison: { readonly loadDataArgs: (inputs: Inputs<{ readonly name: "LineChartComparisonDefaultPro"; readonly label: "Line Chart Comparison - Default"; readonly description: "Line chart overlaying the current period and a comparison period. Pairs with a comparisonPeriod variable and a timeRange variable."; 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 type: "boolean"; }, { readonly category: "Component Settings"; readonly name: "lineColor"; readonly label: "Line color"; readonly type: import("@embeddable.com/core").EmbeddableType; }, { readonly category: "Component Settings"; readonly name: "previousLineColor"; readonly label: "Previous line color"; readonly type: import("@embeddable.com/core").EmbeddableType; }, { readonly name: "lineDashed"; readonly label: "Primary line dashed"; readonly defaultValue: false; readonly type: "boolean"; }, { readonly name: "previousLineDashed"; readonly label: "Compared line dashed"; readonly defaultValue: true; readonly type: "boolean"; }, { readonly name: "connectGaps"; readonly label: "Connect gaps"; readonly defaultValue: true; readonly type: "boolean"; }]; readonly name: "measures"; readonly type: "measure"; readonly label: "Measures"; readonly array: true; readonly config: { readonly dataset: "dataset"; }; readonly required: true; readonly category: "Component Data"; }, { readonly label: "X-axis"; readonly name: "xAxis"; readonly type: "dimension"; readonly config: { readonly dataset: "dataset"; }; readonly required: true; readonly category: "Component Data"; readonly inputs: any[]; }, { readonly name: "primaryDateRange"; readonly label: "Primary date-range"; readonly description: "The comparison period is derived internally using this date range — do not also apply a date filter on the underlying dataset"; readonly category: "Component Data"; readonly type: "timeRange"; }, { readonly description: "You can also connect this to a comparison period selector using its variable"; readonly category: "Component Data"; readonly name: string; readonly type: import("@embeddable.com/core").EmbeddableType; readonly label: string; }, { readonly name: "timePropertyForNonTimeDimensions"; readonly label: "Time property for non time dimensions"; readonly description: "Choose the time property used for filtering comparison ranges. This will be ignored if your x-axis is already time-based."; readonly required: false; readonly type: "dimension"; readonly config: { readonly dataset: "dataset"; readonly supportedTypes: readonly ["time"]; readonly hideGranularity: true; }; readonly category: "Component Data"; }, { 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: "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: "showComparisonAxis"; readonly label: "Display a comparison X-axis"; readonly defaultValue: true; readonly category: "Component Settings"; readonly type: "boolean"; }, { 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: "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: "measureValue"; readonly label: "Clicked measure value"; readonly type: "number"; }]; }]; }>, xAxis: Dimension, comparisonDateRange: TimeRange, clientContext: ThemeClientContext) => LoadDataRequest; readonly loadData: (inputs: Inputs<{ readonly name: "LineChartComparisonDefaultPro"; readonly label: "Line Chart Comparison - Default"; readonly description: "Line chart overlaying the current period and a comparison period. Pairs with a comparisonPeriod variable and a timeRange variable."; 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 type: "boolean"; }, { readonly category: "Component Settings"; readonly name: "lineColor"; readonly label: "Line color"; readonly type: import("@embeddable.com/core").EmbeddableType; }, { readonly category: "Component Settings"; readonly name: "previousLineColor"; readonly label: "Previous line color"; readonly type: import("@embeddable.com/core").EmbeddableType; }, { readonly name: "lineDashed"; readonly label: "Primary line dashed"; readonly defaultValue: false; readonly type: "boolean"; }, { readonly name: "previousLineDashed"; readonly label: "Compared line dashed"; readonly defaultValue: true; readonly type: "boolean"; }, { readonly name: "connectGaps"; readonly label: "Connect gaps"; readonly defaultValue: true; readonly type: "boolean"; }]; readonly name: "measures"; readonly type: "measure"; readonly label: "Measures"; readonly array: true; readonly config: { readonly dataset: "dataset"; }; readonly required: true; readonly category: "Component Data"; }, { readonly label: "X-axis"; readonly name: "xAxis"; readonly type: "dimension"; readonly config: { readonly dataset: "dataset"; }; readonly required: true; readonly category: "Component Data"; readonly inputs: any[]; }, { readonly name: "primaryDateRange"; readonly label: "Primary date-range"; readonly description: "The comparison period is derived internally using this date range — do not also apply a date filter on the underlying dataset"; readonly category: "Component Data"; readonly type: "timeRange"; }, { readonly description: "You can also connect this to a comparison period selector using its variable"; readonly category: "Component Data"; readonly name: string; readonly type: import("@embeddable.com/core").EmbeddableType; readonly label: string; }, { readonly name: "timePropertyForNonTimeDimensions"; readonly label: "Time property for non time dimensions"; readonly description: "Choose the time property used for filtering comparison ranges. This will be ignored if your x-axis is already time-based."; readonly required: false; readonly type: "dimension"; readonly config: { readonly dataset: "dataset"; readonly supportedTypes: readonly ["time"]; readonly hideGranularity: true; }; readonly category: "Component Data"; }, { 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: "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: "showComparisonAxis"; readonly label: "Display a comparison X-axis"; readonly defaultValue: true; readonly category: "Component Settings"; readonly type: "boolean"; }, { 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: "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: "measureValue"; readonly label: "Clicked measure value"; readonly type: "number"; }]; }]; }>, xAxis: Dimension, state: LineChartComparisonDefaultProState, clientContext: ThemeClientContext) => import("@embeddable.com/core").DataResponse | undefined; }; readonly resultsKpis: { readonly loadDataArgs: (inputs: Inputs, xAxis: Dimension, clientContext?: ThemeClientContext) => LoadDataRequest; readonly loadData: (inputs: Inputs, xAxis: Dimension, clientContext: ThemeClientContext) => import("@embeddable.com/core").DataResponse; }; readonly resultsKpisComparison: { readonly loadDataArgs: (inputs: Inputs, xAxis: Dimension, comparisonDateRange: TimeRange, clientContext: ThemeClientContext) => LoadDataRequest; readonly loadData: (inputs: Inputs, xAxis: Dimension, state: LineChartComparisonWithKpiTabsProState, clientContext: ThemeClientContext) => import("@embeddable.com/core").DataResponse | undefined; }; }; export {}; //# sourceMappingURL=definition.d.ts.map