import { IColumnParam } from "../../core/utils/get-column-chart"; import { FilterColumn, IAliasColumn } from "./chart-custom"; import { MetricColumn } from "./metric"; export declare enum EVizType { HANDLEBARS = "handlebars", BUBBLE = "bubble", CAL_HEATMAP = "cal_heatmap", HEATMAP = "heatmap", PAIRED_TTEST = "paired_ttest", BOX_PLOT = "box_plot", HISTOGRAM = "histogram", HORIZON = "horizon", AREA = "area", BAR = "bar", COMPARE = "compare", DUAL_LINE = "dual_line", ECHARTS_AREA = "echarts_area", ECHARTS_TIMESERIES = "echarts_timeseries", ECHARTS_TIMESERIES_BAR = "echarts_timeseries_bar", ECHARTS_TIMESERIES_LINE = "echarts_timeseries_line", ECHARTS_TIMESERIES_SCATTER = "echarts_timeseries_scatter", ECHARTS_TIMESERIES_SMOOTH = "echarts_timeseries_smooth", ECHARTS_TIMESERIES_STEP = "echarts_timeseries_step", LINE = "line", LINE_MULTI = "line_multi", MIXED_TIMESERIES = "mixed_timeseries", TIME_PIVOT = "time_pivot", CHORD = "chord", EVENT_FLOW = "event_flow", GRAPH_CHART = "graph_chart", SANKEY = "sankey", BIG_NUMBER = "big_number", BIG_NUMBER_TOTAL = "big_number_total", BULLET = "bullet", FUNNEL = "funnel", GAUGE_CHART = "gauge_chart", COUNTRY_MAP = "country_map", DECK_ARC = "deck_arc", DECK_GEOJSON = "deck_geojson", DECK_GRID = "deck_grid", DECK_HEX = "deck_hex", DECK_MULTI = "deck_multi", DECK_PATH = "deck_path", DECK_POLYGON = "deck_polygon", DECK_SCATTER = "deck_scatter", DECK_SCREENGRID = "deck_screengrid", MAPBOX = "mapbox", WORLD_MAP = "world_map", PARTITION = "partition", PIE = "pie", SUNBURST = "sunburst", TREE_CHART = "tree_chart", TREEMAP = "treemap", TREEMAP_V2 = "treemap_v2", DIST_BAR = "dist_bar", PARA = "para", RADAR = "radar", ROSE = "rose", WORD_CLOUD = "word_cloud", PIVOT_TABLE = "pivot_table", PIVOT_TABLE_V2 = "pivot_table_v2", TABLE = "table", TIME_TABLE = "time_table", FILTER_BOX = "filter_box", HTML_TEMPLATE = "chart_html_template", BAR_COMPARE = "echarts_timeseries_bar_compare", TABLE_CUSTOM = "table_custom", BAR_V2 = "dist_bar_v2", MIXED = "mixed", CANDLESTICK = "candlestick" } export interface IResponse { attribute: any; createdDate: number; creatorName: string; creatorUname: string; desc: string; dsCategory: string; dsTable: string; dsType: string; lastModifiedDate: number; lastModifierName: string; lastModifierUname: string; name: string; organId: string; queryContext: any; sharedUuid: string; thumbnailUri: string; title: string; type: string; typeName: string; uuid: string; } export interface IMessage { eventName: string; signFrom: string; result: any; } export interface IDataset { type: string; category: string; name: string; } export interface IMetric { expressionType: string; column: IColumn; aggregate: string; sqlExpression: any; isNew: boolean; datasourceWarning: boolean; hasCustomLabel: boolean; label: string; optionName: string; } export interface IFilter { expressionType: string; subject: string; operator: string; operatorId: string; comparator: any; clauxpression: any; isExse: string; sqlEtra: boolean; isNew: boolean; datasourceWarning: boolean; filterOptionName: string; } export interface IColumn { filterable: boolean; groupby: boolean; is_certified: boolean; column_name: string; type: string; id: number; is_dttm: boolean; } export interface ISpatial { type: string; latCol?: string; lonCol?: string; lonlatCol?: string; geohashCol?: string; } export declare enum ESpatial { GEOHASH = "geohash", LATLONG = "latlong", DELIMITED = "delimited" } export declare enum EPoint { METRIC = "metric", FIX = "fix" } export interface IPoint { type: string; value: any; } export interface IParamsTemPlate { sourceUuid: string; name: string; module: string; fields: string; desc: string; uuid?: string; category: string; } export interface IResTemplate { attribute: string; createdDate: number; creatorName: string; creatorUname: string; desc: string; dsCategory: string; dsTable: string; dsType: string; fields: IColumnParam[]; forecast: boolean; module: string; name: string; organId: string; queryContext: string; sourceType: string; sourceTypeName: string; sourceUuid: string; type: string; uuid: string; visualize: boolean; category: string; } export interface IAdhocFilter { col: string; colType: string; op: string; val: any; } export interface IFormDataPie { datasource: string; viz_type: string; granularity_sqla: string; time_range: string; groupby: string[]; metric: IMetric; adhoc_filters: IFilter[]; row_limit: number; sort_by_metric: boolean; color_scheme: string; show_labels_threshold: number; show_legend: boolean; legendType: string; legendOrientation: string; legendMargin: any; label_type: string; number_format: string; date_format: string; show_labels: boolean; labels_outside: boolean; label_line: boolean; show_total: boolean; outerRadius: number; donut: boolean; innerRadius: number; extra_form_data: any; } export interface IFormDataChord { datasource: string; viz_type: string; granularity_sqla: string; time_range: string; groupby: string; columns: string; metric: IMetric; adhoc_filters: IFilter[]; row_limit: number; y_axis_format: string; color_scheme: string; extra_form_data: any; } export interface IFormDataHeatmap { datasource: string; viz_type: string; granularity_sqla: string; time_range: string; all_columns_x: string; all_columns_y: string; metric: IMetric; adhoc_filters: IFilter[]; row_limit: number; sort_by_metric: boolean; linear_color_scheme: string; xscale_interval: number; yscale_interval: number; canvas_image_rendering: string; normalize_across: string; left_margin: string | number; bottom_margin: string | number; y_axis_bounds: any; y_axis_format: string; sort_x_axis: string; sort_y_axis: string; show_legend: boolean; show_perc: boolean; show_values: boolean; normalized: boolean; extra_form_data: any; } export interface IFormDataSunburst { datasource: string; viz_type: string; granularity_sqla: string; time_range: string; groupby: string[]; metric: IMetric; secondary_metric: IMetric; adhoc_filters: IFilter[]; row_limit: number; color_scheme: string; linear_color_scheme: string; extra_form_data: any; } export interface IFormDataPartition { datasource: string; viz_type: string; granularity_sqla: string; time_range: string; metrics: IMetric[]; adhoc_filters: IFilter[]; groupby: string[]; limit: number; order_desc: boolean; contribution: boolean; row_limit: number; time_series_option: string; color_scheme: string; number_format: string; date_time_format: string; partition_limit: number; partition_threshold: number; equal_date_size: boolean; rich_tooltip: boolean; extra_form_data: any; } export interface IFormDataParallel { datasource: string; viz_type: string; granularity_sqla: string; time_range: string; series: string; metrics: IMetric[]; secondary_metric: IMetric; adhoc_filters: IFilter[]; row_limit: number; timeseries_limit_metric: IMetric; order_desc: boolean; show_datatable: boolean; include_series: boolean; linear_color_scheme: string; extra_form_data: any; } export interface IFormDataGauge { datasource: string; viz_type: string; granularity_sqla: string; time_range: string; groupby: string[]; metric: IMetric; adhoc_filters: IFilter[]; row_limit: number; start_angle: number; end_angle: number; color_scheme: string; font_size: number; number_format: string; value_formatter: string; show_pointer: boolean; animation: boolean; show_axis_tick: boolean; show_split_line: boolean; split_number: number; show_progress: boolean; overlap: boolean; round_cap: boolean; intervals: string; extra_form_data: any; } export interface IFormDataRadar { datasource: string; viz_type: string; granularity_sqla: string; time_range: string; groupby: string[]; metrics: IMetric[]; adhoc_filters: IFilter[]; row_limit: string | number; color_scheme: string; show_legend: boolean; legendType: string; legendOrientation: string; show_labels: boolean; label_type: string; label_position: string; number_format: string; date_format: string; is_circle: boolean; extra_form_data: any; } export interface IFormDataTreemapV2 { datasource: string; viz_type: string; granularity_sqla: string; time_range: string; groupby: string[]; metric: IMetric; row_limit: number; adhoc_filters: IFilter[]; color_scheme: string; show_labels: boolean; show_upper_labels: boolean; label_type: string; number_format: string; date_format: string; extra_form_data: any; } export interface IFormDataTreemap { datasource: string; viz_type: string; granularity_sqla: string; time_range: string; metrics: IMetric[]; adhoc_filters: IFilter[]; groupby: string[]; row_limit: number; order_desc: boolean; color_scheme: string; treemap_ratio: never; number_format: string; extra_form_data: any; } export interface IFormDataGraph { datasource: string; viz_type: string; granularity_sqla: string; time_range: string; source: string; target: string; metric: IMetric; source_category: string; target_category: string; adhoc_filters: IFilter[]; row_limit: number; color_scheme: number; show_legend: boolean; legendType: string; legendOrientation: string; legendMargin: null; layout: string; edgeSymbol: string; draggable: boolean; roam: boolean; selectedMode: string; baseNodeSize: number; baseEdgeWidth: number; edgeLength: number; gravity: number; repulsion: number; friction: number; extra_form_data: any; } export interface IFormDataBigNumberTrend { datasource: string; viz_type: string; granularity_sqla: string; time_grain_sqla: string; time_range: string; metric: IMetric; adhoc_filters: IFilter[]; show_timestamp: boolean; show_trend_line: boolean; start_y_axis_at_zero: boolean; color_picker: any; header_font_size: number; subheader_font_size: number; y_axis_format: string; time_format: string; extra_form_data: any; } export interface IFormDataSankey { datasource: string; viz_type: string; granularity_sqla: string; time_range: string; groupby: string[]; metric: IMetric; adhoc_filters: IFilter[]; row_limit: number; color_scheme: string; extra_form_data: any; } export interface IFormDataFunnel { datasource: string; viz_type: string; granularity_sqla: string; time_range: string; groupby: string[]; metric: IMetric; adhoc_filters: IFilter[]; row_limit: number; sort_by_metric: boolean; color_scheme: string; show_legend: boolean; legendOrientation: string; number_format: string; show_labels: boolean; extra_form_data: any; } export interface IFormDataRose { datasource: string; viz_type: string; granularity_sqla: string; time_grain_sqla: string; time_range: string; metrics: IMetric[]; adhoc_filters: IFilter[]; groupby: string[]; order_desc: boolean; row_limit: string | number; color_scheme: string; number_format: string; date_time_format: string; rich_tooltip: boolean; rose_area_proportion: boolean; extra_form_data: {}; } export interface IFormDataHistogram { datasource: string; viz_type: string; granularity_sqla: string; time_range: string; all_columns_x: string[]; adhoc_filters: IFilter[]; row_limit: number; groupby: string[]; color_scheme: string; link_length: string | number; show_legend: boolean; normalized: boolean; cumulative: boolean; extra_form_data: any; } export interface IFormDataTree { datasource: string; viz_type: string; granularity_sqla: string; time_range: string; id: string; parent: string; name: string; metric: IMetric; adhoc_filters: IFilter[]; row_limit: number; layout: string; orient: string; node_label_position: string; child_label_position: string; emphasis: string; symbol: string; symbolSize: number; roam: boolean; extra_form_data: any; } export interface IFormDataHorizon { datasource: string; viz_type: string; granularity_sqla: string; time_range: string; metrics: IMetric[]; adhoc_filters: IFilter[]; groupby: string[]; order_desc: boolean; contribution: boolean; row_limit: number; series_height: string; horizon_color_scale: string; extra_form_data: any; } export interface IFormDataPivotV2 { datasource: string; viz_type: string; granularity_sqla: string; time_grain_sqla: string; time_range: string; groupbyColumns: string[]; groupbyRows: string[]; metrics: IMetric[]; metricsLayout: string; adhoc_filters: IFilter[]; series_limit: number; row_limit: number; order_desc: boolean; aggregateFunction: string; valueFormat: string; date_format: string; rowOrder: string; colOrder: string; conditional_formatting: any[]; extra_form_data: any; } export interface IFormDataTable { datasource: string; viz_type: string; granularity_sqla: string; time_grain_sqla: string; time_range: string; query_mode: string; groupby: string[]; metrics: IMetric[]; all_columns: string[]; percent_metrics: IMetric[]; adhoc_filters: IFilter[]; order_by_cols: string[]; row_limit: string | number; server_page_length: number; order_desc: boolean; table_timestamp_format: string; show_cell_bars: boolean; color_pn: boolean; extra_form_data: any; } export interface IFormDataTimeseries { datasource: string; viz_type: string; granularity_sqla: string; time_grain_sqla: string; time_range: string; metrics: IMetric[]; groupby: string[]; adhoc_filters: IFilter[]; limit: number; timeseries_limit_metric: IMetric[]; row_limit: number; orientation: string; x_axis_title_margin: number; y_axis_title_margin: number; y_axis_title_position: string; color_scheme: string; only_total: boolean; show_legend: boolean; legendType: string; legendOrientation: string; x_axis_time_format: string; y_axis_format: string; y_axis_bounds: any[]; rich_tooltip: boolean; tooltipTimeFormat: string; extra_form_data: any; } export interface IFormDataBubble { datasource: string; viz_type: string; granularity_sqla: string; time_range: string; series: string; entity: string; x: IMetric; y: IMetric; adhoc_filters: IFilter[]; size: IMetric; max_bubble_size: string; color_scheme: string; show_legend: boolean; left_margin: string; x_axis_format: string; x_ticks_layout: string; bottom_margin: string; y_axis_format: string; y_axis_bounds: any[]; extra_form_data: any; } export interface IFormDataBigNumber { datasource: string; viz_type: string; granularity_sqla: string; time_range: string; metric: IMetric; adhoc_filters: IFilter[]; subheader: string; header_font_size: number; subheader_font_size: number; y_axis_format: string; time_format: string; extra_form_data: any; } export interface IFormDataBullet { datasource: string; viz_type: string; granularity_sqla: string; time_range: string; metric: IMetric; adhoc_filters: IFilter[]; ranges: string; range_labels: string; markers: string; marker_labels: string; marker_lines: string; marker_line_labels: string; extra_form_data: any; } export interface IFormDataArc { datasource: string; viz_type: string; granularity_sqla: string; time_range: string; start_spatial: ISpatial; end_spatial: ISpatial; row_limit: number; filter_nulls: boolean; adhoc_filters: IFilter[]; mapbox_style: string; viewport: any; autozoom: boolean; color_picker: any; target_color_picker: any; color_scheme: string; legend_position: string; legend_format: string; extra_form_data: any; } export interface IFormDataBoxPlot { datasource: string; viz_type: string; granularity_sqla: string; time_range: string; columns: string[]; time_grain_sqla: string; datetime_columns_lookup: any; groupby: string[]; metrics: IMetric[]; adhoc_filters: IFilter[]; whiskerOptions: string; x_axis_title_margin: number; y_axis_title_margin: number; y_axis_title_position: string; color_scheme: string; x_ticks_layout: string; number_format: string; date_format: string; extra_form_data: any; } export interface IFormDataDualLine { datasource: string; viz_type: string; granularity_sqla: string; time_grain_sqla: string; time_range: string; color_scheme: string; show_legend: boolean; x_axis_format: string; metric: IMetric; y_axis_format: string; y_axis_showminmax: boolean; y_axis_bounds: any[]; metric_2: IMetric; y_axis_2_format: string; y_axis_2_showminmax: boolean; y_axis_2_bounds: any[]; adhoc_filters: IFilter[]; extra_form_data: any; } export interface IFormDataLine { datasource: string; viz_type: string; granularity_sqla: string; time_grain_sqla: string; time_range: string; metrics: IMetric[]; adhoc_filters: IFilter[]; groupby: string[]; order_desc: boolean; row_limit: number; color_scheme: string; show_brush: string; show_legend: boolean; rich_tooltip: boolean; line_interpolation: string; bottom_margin: string; x_ticks_layout: string; x_axis_format: string; left_margin: string; y_axis_format: string; y_axis_bounds: any[]; extra_form_data: any; } export interface IFormDataMixed { datasource: string; viz_type: string; granularity_sqla: string; time_grain_sqla: string; time_range: string; metrics: IMetric[]; groupby: string[]; adhoc_filters: IFilter[]; timeseries_limit_metric: IMetric; order_desc: boolean; row_limit: number; truncate_metric: boolean; metrics_b: IMetric[]; groupby_b: string[]; adhoc_filters_b: IFilter[]; timeseries_limit_metric_b: IMetric; order_desc_b: boolean; row_limit_b: number; truncate_metric_b: boolean; x_axis_title_margin: number; y_axis_title_margin: number; y_axis_title_position: string; color_scheme: string; seriesTypeA: string; stackA: boolean; areaA: boolean; show_valueA: boolean; opacityA: number; markerEnabledA: boolean; markerSizeA: number; seriesTypeB: string; stackB: boolean; areaB: boolean; show_valueB: boolean; opacityB: number; markerEnabledB: boolean; markerSizeB: number; yAxisIndexB: number; zoomable: boolean; show_legend: boolean; legendType: string; legendOrientation: string; x_axis_time_format: string; xAxisLabelRotation: number; rich_tooltip: boolean; tooltipSortByMetric: boolean; tooltipTimeFormat: string; y_axis_bounds: any[]; y_axis_format: string; y_axis_format_secondary: string; extra_form_data: any; } export interface IFormDataGrid { datasource: string; viz_type: string; granularity_sqla: string; time_range: string; spatial: ISpatial; size: IMetric; row_limit: number; filter_nulls: boolean; adhoc_filters: IFilter[]; mapbox_style: string; viewport: any; color_picker: any; autozoom: boolean; grid_size: number; extruded: boolean; extra_form_data: any; } export interface IFormDataScatterPlot { datasource: string; viz_type: string; granularity_sqla: string; time_range: string; spatial: ISpatial; row_limit: number; filter_nulls: boolean; adhoc_filters: IFilter[]; mapbox_style: string; viewport: any; autozoom: boolean; point_radius_fixed: IPoint; point_unit: string; min_radius: number; max_radius: number; multiplier: string; color_picker: any; legend_position: string; legend_format: string; color_scheme: string; time_grain_sqla: null | string; granularity: null | string; extra_form_data: any; } export interface IFormDataHexagon { datasource: string; viz_type: string; granularity_sqla: string; time_range: string; spatial: ISpatial; size: IMetric; row_limit: number; filter_nulls: boolean; adhoc_filters: IFilter[]; mapbox_style: string; viewport: any; color_picker: any; autozoom: boolean; grid_size: number; extruded: boolean; js_agg_function: string; extra_form_data: any; } export interface IFormDataPolygon { datasource: string; viz_type: string; granularity_sqla: string; time_range: string; line_column: string; line_type: string; adhoc_filters: IFilter[]; metric: IMetric; point_radius_fixed: IPoint; row_limit: number; filter_nulls: boolean; mapbox_style: string; viewport: any; autozoom: boolean; fill_color_picker: any; stroke_color_picker: any; filled: boolean; extruded: boolean; multiplier: number; line_width: number; linear_color_scheme: string; opacity: number; num_buckets: number; toggle_polygons: boolean; legend_position: string; legend_format: string; extra_form_data: any; } export interface IFormDataScreenGrid { datasource: string; viz_type: string; granularity_sqla: string; time_range: string; spatial: ISpatial; size: IMetric; row_limit: number; filter_nulls: boolean; adhoc_filters: IFilter[]; mapbox_style: string; viewport: any; autozoom: boolean; grid_size: number; color_picker: any; extra_form_data: any; } export interface IFormDataPath { datasource: string; viz_type: string; granularity_sqla: string; time_range: string; line_column: string; line_type: string; row_limit: number; filter_nulls: boolean; adhoc_filters: IFilter[]; mapbox_style: string; viewport: any; color_picker: any; line_width: number; reverse_long_lat: boolean; autozoom: boolean; extra_form_data: any; } export interface IFormDataWorldMap { datasource: string; viz_type: string; granularity_sqla: string; time_range: string; entity: string; country_fieldtype: string; metric: IMetric; adhoc_filters: IFilter[]; row_limit: number; show_bubbles: boolean; secondary_metric: IMetric; max_bubble_size: string; color_picker: any; color_by: string; linear_color_scheme: string; color_scheme: string; extra_form_data: any; } export interface IFormDataEventFlow { datasource: string; viz_type: string; granularity_sqla: string; time_range: string; entity: string; all_columns_x: string; row_limit: number; order_by_entity: boolean; min_leaf_node_event_count: number; adhoc_filters: IFilter[]; all_columns: string[]; extra_form_data: any; } export interface IFormDataMulLine { datasource: string; viz_type: string; time_range: string; color_scheme: string; prefix_metric_with_slice_name: boolean; show_legend: boolean; show_markers: boolean; line_interpolation: string; x_axis_label: string; bottom_margin: string; x_ticks_layout: string; x_axis_format: string; x_axis_showminmax: boolean; line_charts: string[]; y_axis_format: string; y_axis_bounds: any[]; line_charts_2: string[]; y_axis_2_format: string; y_axis_2_showminmax: boolean; y_axis_2_bounds: any[]; adhoc_filters: IFilter[]; extra_form_data: any; } export interface IFormDataDistBar { datasource: string; viz_type: string; granularity_sqla: string; time_range: string; metrics: IMetric[]; adhoc_filters: IFilter[]; groupby: string[]; columns: string[]; row_limit: number; order_desc: boolean; color_scheme: string; show_legend: boolean; show_bar_value: boolean; rich_tooltip: boolean; y_axis_format: string; y_axis_bounds: any[]; bottom_margin: string; x_ticks_layout: string; extra_form_data: any; } export interface IFormDataArea { datasource: string; viz_type: string; granularity_sqla: string; time_grain_sqla: string; time_range: string; metrics: IMetric[]; adhoc_filters: IFilter[]; groupby: string[]; order_desc: boolean; contribution: boolean; row_limit: number; show_brush: string; show_legend: boolean; line_interpolation: string; stacked_style: string; color_scheme: string; rich_tooltip: boolean; show_controls: boolean; bottom_margin: string; x_ticks_layout: string; x_axis_format: string; x_axis_showminmax: boolean; y_axis_format: string; y_axis_bounds: any[]; y_log_scale: boolean; extra_form_data: any; } export interface IFormDataTimePivot { datasource: string; viz_type: string; granularity_sqla: string; time_grain_sqla: string; time_range: string; metric: IMetric; adhoc_filters: IFilter[]; freq: string; show_legend: boolean; line_interpolation: string; color_picker: any; bottom_margin: string; x_axis_format: string; left_margin: string; y_axis_format: string; y_axis_bounds: any[]; extra_form_data: any; } export interface IFormDataDeckMul { datasource: string; viz_type: string; granularity_sqla: string; time_range: string; mapbox_style: string; viewport: any; deck_slices: string[]; adhoc_filters: IFilter[]; extra_form_data: {}; } export interface IFormDataPivot { datasource: string; viz_type: string; granularity_sqla: string; time_grain_sqla: string; time_range: string; metrics: IMetric[]; adhoc_filters: IFilter[]; groupby: string[]; columns: string[]; row_limit: number; order_desc: boolean; pandas_aggfunc: string; pivot_margins: boolean; number_format: string; date_format: string; extra_form_data: any; } export interface IFormDataCalendar { datasource: string; viz_type: string; granularity_sqla: string; time_range: string; domain_granularity: string; subdomain_granularity: string; metrics: IMetric[]; adhoc_filters: IFilter[]; linear_color_scheme: string; cell_size: number; cell_padding: number; steps: number; y_axis_format: string; x_axis_time_format: string; show_legend: boolean; show_metric_name: boolean; extra_form_data: any; } export interface IFormDataBar { datasource: string; viz_type: string; granularity_sqla: string; time_grain_sqla: string; time_range: string; metrics: IMetric[]; adhoc_filters: IFilter[]; groupby: string[]; limit: number; timeseries_limit_metric: IMetric[]; contribution: boolean; row_limit: number; color_scheme: string; show_brush: string; show_legend: true; show_bar_value: boolean; rich_tooltip: boolean; bar_stacked: boolean; line_interpolation: string; show_controls: boolean; bottom_margin: string; x_axis_label: string; x_ticks_layout: string; x_axis_format: string; x_axis_showminmax: true; reduce_x_ticks: true; y_axis_label: string; left_margin: string; y_axis_showminmax: boolean; y_log_scale: boolean; y_axis_format: string; y_axis_bounds: any[]; extra_form_data: any; } export interface IFormDataWordCloud { datasource: string; viz_type: string; granularity_sqla: string; time_range: string; series: string; metric: IMetric; adhoc_filters: IFilter[]; row_limit: number; size_from: number; size_to: number; rotation: string; color_scheme: string; extra_form_data: any; encoding: any; } export interface IFormDataBarCompare { viz_type: string; granularity_sqla: string; time_grain_sqla: string; metrics: IMetric[]; groupby: []; adhoc_filters: IAdhocFilter[]; filters: IAdhocFilter[]; limit: string; row_limit: number; orientation: string; x_axis_title_margin: number; y_axis_title_margin: number; y_axis_title_position: string; color_scheme: string[]; only_total: boolean; show_legend: boolean; legendType: string; legendOrientation: string; x_axis_time_format: string; y_axis_format: string; y_axis_bounds: any[]; rich_tooltip: boolean; tooltipTimeFormat: string; extra_form_data: any; granularity: string; granularityType: string; dataZoom: boolean; color_scheme_name: string; } export interface IFormDataTableCustom { columns: IAliasColumn[]; background_head: string; color_head: string; pagination: boolean; page_size: number | string; filters: FilterColumn[]; } export interface IFormDataBarV2 { viz_type: string; granularity_sqla: string; time_range: string; metrics: IMetric[]; adhoc_filters: IFilter[]; groupby: string[]; columns: string[]; row_limit: number | string; order_desc: boolean; color_scheme: string[] | string; color_scheme_name: string; show_legend: boolean; rich_tooltip: boolean; y_axis_format: string; y_axis_bounds: any[]; bottom_margin: string; x_ticks_layout: string; extra_form_data: any; columnMetrics: MetricColumn[]; columnFilters: FilterColumn[]; dataZoom: boolean; }