From commits-return-2611-archive-asf-public=cust-asf.ponee.io@superset.incubator.apache.org Wed Apr 24 17:35:26 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id BFF5A180668 for ; Wed, 24 Apr 2019 19:35:25 +0200 (CEST) Received: (qmail 42019 invoked by uid 500); 24 Apr 2019 17:35:25 -0000 Mailing-List: contact commits-help@superset.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@superset.incubator.apache.org Delivered-To: mailing list commits@superset.incubator.apache.org Received: (qmail 42010 invoked by uid 99); 24 Apr 2019 17:35:25 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Apr 2019 17:35:25 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id E43D88A7E5; Wed, 24 Apr 2019 17:35:19 +0000 (UTC) Date: Wed, 24 Apr 2019 17:35:19 +0000 To: "commits@superset.apache.org" Subject: [incubator-superset] branch master updated: remove backendSync.json (#7331) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Message-ID: <155612731942.5703.3737546455637274744@gitbox.apache.org> From: maximebeauchemin@apache.org X-Git-Host: gitbox.apache.org X-Git-Repo: incubator-superset X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: fef5b5efb02986a913d9929d94bb4e90f31f1fe8 X-Git-Newrev: 778812419b58078dcb95931fab1a3e2d87835fc0 X-Git-Rev: 778812419b58078dcb95931fab1a3e2d87835fc0 X-Git-NotificationType: ref_changed_plus_diff X-Git-Multimail-Version: 1.5.dev Auto-Submitted: auto-generated This is an automated email from the ASF dual-hosted git repository. maximebeauchemin pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-superset.git The following commit(s) were added to refs/heads/master by this push: new 7788124 remove backendSync.json (#7331) 7788124 is described below commit 778812419b58078dcb95931fab1a3e2d87835fc0 Author: Krist Wongsuphasawat AuthorDate: Wed Apr 24 10:35:13 2019 -0700 remove backendSync.json (#7331) --- superset/assets/backendSync.json | 3796 -------------------------------------- 1 file changed, 3796 deletions(-) diff --git a/superset/assets/backendSync.json b/superset/assets/backendSync.json deleted file mode 100644 index 2285f50..0000000 --- a/superset/assets/backendSync.json +++ /dev/null @@ -1,3796 +0,0 @@ -{ - "controls": { - "metrics": { - "type": "MetricsControl", - "multi": true, - "label": "Metrics", - "validators": [ - null - ], - "description": "One or many metrics to display" - }, - "metric": { - "type": "MetricsControl", - "multi": false, - "label": "Metric", - "validators": [ - null - ], - "description": "One or many metrics to display" - }, - "datasource": { - "type": "DatasourceControl", - "label": "Datasource", - "default": null, - "description": null - }, - "viz_type": { - "type": "VizTypeControl", - "label": "Visualization Type", - "default": "table", - "description": "The type of visualization to display" - }, - "percent_metrics": { - "type": "MetricsControl", - "multi": true, - "label": "Percentage Metrics", - "validators": [], - "default": [], - "description": "Metrics for which percentage of total are to be displayed" - }, - "y_axis_bounds": { - "type": "BoundsControl", - "label": "Y Axis Bounds", - "renderTrigger": true, - "default": [ - null, - null - ], - "description": "Bounds for the Y-axis. When left empty, the bounds are dynamically defined based on the min/max of the data. Note that this feature will only expand the axis range. It won't narrow the data's extent." - }, - "order_by_cols": { - "type": "SelectControl", - "multi": true, - "label": "Ordering", - "default": [], - "description": "One or many metrics to display" - }, - "color_picker": { - "label": "Fixed Color", - "description": "Use this to define a static color for all circles", - "type": "ColorPickerControl", - "default": { - "r": 0, - "g": 122, - "b": 135, - "a": 1 - }, - "renderTrigger": true - }, - "target_color_picker": { - "label": "Target Color", - "description": "Color of the target location", - "type": "ColorPickerControl", - "default": { - "r": 0, - "g": 122, - "b": 135, - "a": 1 - }, - "renderTrigger": true - }, - "legend_position": { - "label": "Legend Position", - "description": "Choose the position of the legend", - "type": "SelectControl", - "clearable": false, - "default": "tr", - "choices": [ - [ - null, - "None" - ], - [ - "tl", - "Top left" - ], - [ - "tr", - "Top right" - ], - [ - "bl", - "Bottom left" - ], - [ - "br", - "Bottom right" - ] - ], - "renderTrigger": true - }, - "fill_color_picker": { - "label": "Fill Color", - "description": " Set the opacity to 0 if you do not want to override the color specified in the GeoJSON", - "type": "ColorPickerControl", - "default": { - "r": 0, - "g": 122, - "b": 135, - "a": 1 - }, - "renderTrigger": true - }, - "stroke_color_picker": { - "label": "Stroke Color", - "description": " Set the opacity to 0 if you do not want to override the color specified in the GeoJSON", - "type": "ColorPickerControl", - "default": { - "r": 0, - "g": 122, - "b": 135, - "a": 1 - }, - "renderTrigger": true - }, - "metric_2": { - "type": "MetricsControl", - "multi": false, - "label": "Right Axis Metric", - "validators": [ - null - ], - "description": "Choose a metric for right axis", - "clearable": true - }, - "stacked_style": { - "type": "SelectControl", - "label": "Stacked Style", - "renderTrigger": true, - "choices": [ - [ - "stack", - "stack" - ], - [ - "stream", - "stream" - ], - [ - "expand", - "expand" - ] - ], - "default": "stack", - "description": "" - }, - "sort_x_axis": { - "type": "SelectControl", - "label": "Sort X Axis", - "choices": [ - [ - "alpha_asc", - "Axis ascending" - ], - [ - "alpha_desc", - "Axis descending" - ], - [ - "value_asc", - "sum(value) ascending" - ], - [ - "value_desc", - "sum(value) descending" - ] - ], - "clearable": false, - "default": "alpha_asc" - }, - "sort_y_axis": { - "type": "SelectControl", - "label": "Sort Y Axis", - "choices": [ - [ - "alpha_asc", - "Axis ascending" - ], - [ - "alpha_desc", - "Axis descending" - ], - [ - "value_asc", - "sum(value) ascending" - ], - [ - "value_desc", - "sum(value) descending" - ] - ], - "clearable": false, - "default": "alpha_asc" - }, - "linear_color_scheme": { - "type": "ColorSchemeControl", - "label": "Linear Color Scheme", - "default": "blue_white_yellow", - "clearable": false, - "description": "", - "renderTrigger": true, - "isLinear": true - }, - "normalize_across": { - "type": "SelectControl", - "label": "Normalize Across", - "choices": [ - [ - "heatmap", - "heatmap" - ], - [ - "x", - "x" - ], - [ - "y", - "y" - ] - ], - "default": "heatmap", - "description": "Color will be rendered based on a ratio of the cell against the sum of across this criteria" - }, - "horizon_color_scale": { - "type": "SelectControl", - "renderTrigger": true, - "label": "Value Domain", - "choices": [ - [ - "series", - "series" - ], - [ - "overall", - "overall" - ], - [ - "change", - "change" - ] - ], - "default": "series", - "description": "series: Treat each series independently; overall: All series use the same scale; change: Show changes compared to the first data point in each series" - }, - "canvas_image_rendering": { - "type": "SelectControl", - "label": "Rendering", - "renderTrigger": true, - "choices": [ - [ - "pixelated", - "pixelated (Sharp)" - ], - [ - "auto", - "auto (Smooth)" - ] - ], - "default": "pixelated", - "description": "image-rendering CSS attribute of the canvas object that defines how the browser scales up the image" - }, - "xscale_interval": { - "type": "SelectControl", - "label": "XScale Interval", - "renderTrigger": true, - "choices": [ - [ - 1, - "1" - ], - [ - 2, - "2" - ], - [ - 3, - "3" - ], - [ - 4, - "4" - ], - [ - 5, - "5" - ], - [ - 6, - "6" - ], - [ - 7, - "7" - ], - [ - 8, - "8" - ], - [ - 9, - "9" - ], - [ - 10, - "10" - ], - [ - 11, - "11" - ], - [ - 12, - "12" - ], - [ - 13, - "13" - ], - [ - 14, - "14" - ], - [ - 15, - "15" - ], - [ - 16, - "16" - ], - [ - 17, - "17" - ], - [ - 18, - "18" - ], - [ - 19, - "19" - ], - [ - 20, - "20" - ], - [ - 21, - "21" - ], - [ - 22, - "22" - ], - [ - 23, - "23" - ], - [ - 24, - "24" - ], - [ - 25, - "25" - ], - [ - 26, - "26" - ], - [ - 27, - "27" - ], - [ - 28, - "28" - ], - [ - 29, - "29" - ], - [ - 30, - "30" - ], - [ - 31, - "31" - ], - [ - 32, - "32" - ], - [ - 33, - "33" - ], - [ - 34, - "34" - ], - [ - 35, - "35" - ], - [ - 36, - "36" - ], - [ - 37, - "37" - ], - [ - 38, - "38" - ], - [ - 39, - "39" - ], - [ - 40, - "40" - ], - [ - 41, - "41" - ], - [ - 42, - "42" - ], - [ - 43, - "43" - ], - [ - 44, - "44" - ], - [ - 45, - "45" - ], - [ - 46, - "46" - ], - [ - 47, - "47" - ], - [ - 48, - "48" - ], - [ - 49, - "49" - ], - [ - 50, - "50" - ] - ], - "default": "1", - "clearable": false, - "description": "Number of steps to take between ticks when displaying the X scale" - }, - "yscale_interval": { - "type": "SelectControl", - "label": "YScale Interval", - "choices": [ - [ - 1, - "1" - ], - [ - 2, - "2" - ], - [ - 3, - "3" - ], - [ - 4, - "4" - ], - [ - 5, - "5" - ], - [ - 6, - "6" - ], - [ - 7, - "7" - ], - [ - 8, - "8" - ], - [ - 9, - "9" - ], - [ - 10, - "10" - ], - [ - 11, - "11" - ], - [ - 12, - "12" - ], - [ - 13, - "13" - ], - [ - 14, - "14" - ], - [ - 15, - "15" - ], - [ - 16, - "16" - ], - [ - 17, - "17" - ], - [ - 18, - "18" - ], - [ - 19, - "19" - ], - [ - 20, - "20" - ], - [ - 21, - "21" - ], - [ - 22, - "22" - ], - [ - 23, - "23" - ], - [ - 24, - "24" - ], - [ - 25, - "25" - ], - [ - 26, - "26" - ], - [ - 27, - "27" - ], - [ - 28, - "28" - ], - [ - 29, - "29" - ], - [ - 30, - "30" - ], - [ - 31, - "31" - ], - [ - 32, - "32" - ], - [ - 33, - "33" - ], - [ - 34, - "34" - ], - [ - 35, - "35" - ], - [ - 36, - "36" - ], - [ - 37, - "37" - ], - [ - 38, - "38" - ], - [ - 39, - "39" - ], - [ - 40, - "40" - ], - [ - 41, - "41" - ], - [ - 42, - "42" - ], - [ - 43, - "43" - ], - [ - 44, - "44" - ], - [ - 45, - "45" - ], - [ - 46, - "46" - ], - [ - 47, - "47" - ], - [ - 48, - "48" - ], - [ - 49, - "49" - ], - [ - 50, - "50" - ] - ], - "default": "1", - "clearable": false, - "renderTrigger": true, - "description": "Number of steps to take between ticks when displaying the Y scale" - }, - "include_time": { - "type": "CheckboxControl", - "label": "Include Time", - "description": "Whether to include the time granularity as defined in the time section", - "default": false - }, - "autozoom": { - "type": "CheckboxControl", - "label": "Auto Zoom", - "default": true, - "renderTrigger": true, - "description": "When checked, the map will zoom to your data after each query" - }, - "show_perc": { - "type": "CheckboxControl", - "label": "Show percentage", - "renderTrigger": true, - "description": "Whether to include the percentage in the tooltip", - "default": true - }, - "bar_stacked": { - "type": "CheckboxControl", - "label": "Stacked Bars", - "renderTrigger": true, - "default": false, - "description": null - }, - "pivot_margins": { - "type": "CheckboxControl", - "label": "Show totals", - "renderTrigger": false, - "default": true, - "description": "Display total row/column" - }, - "show_markers": { - "type": "CheckboxControl", - "label": "Show Markers", - "renderTrigger": true, - "default": false, - "description": "Show data points as circle markers on the lines" - }, - "show_bar_value": { - "type": "CheckboxControl", - "label": "Bar Values", - "default": false, - "renderTrigger": true, - "description": "Show the value on top of the bar" - }, - "order_bars": { - "type": "CheckboxControl", - "label": "Sort Bars", - "default": false, - "renderTrigger": true, - "description": "Sort bars by x labels." - }, - "combine_metric": { - "type": "CheckboxControl", - "label": "Combine Metrics", - "default": false, - "description": "Display metrics side by side within each column, as opposed to each column being displayed side by side for each metric." - }, - "show_controls": { - "type": "CheckboxControl", - "label": "Extra Controls", - "renderTrigger": true, - "default": false, - "description": "Whether to show extra controls or not. Extra controls include things like making mulitBar charts stacked or side by side." - }, - "reduce_x_ticks": { - "type": "CheckboxControl", - "label": "Reduce X ticks", - "renderTrigger": true, - "default": false, - "description": "Reduces the number of X-axis ticks to be rendered. If true, the x-axis will not overflow and labels may be missing. If false, a minimum width will be applied to columns and the width may overflow into an horizontal scroll." - }, - "include_series": { - "type": "CheckboxControl", - "label": "Include Series", - "renderTrigger": true, - "default": false, - "description": "Include series name as an axis" - }, - "secondary_metric": { - "type": "MetricsControl", - "multi": false, - "label": "Color Metric", - "validators": [], - "default": null, - "description": "A metric to use for color" - }, - "select_country": { - "type": "SelectControl", - "label": "Country Name", - "default": "France", - "choices": [ - [ - "Belgium", - "Belgium" - ], - [ - "Brazil", - "Brazil" - ], - [ - "Bulgaria", - "Bulgaria" - ], - [ - "China", - "China" - ], - [ - "Egypt", - "Egypt" - ], - [ - "France", - "France" - ], - [ - "Germany", - "Germany" - ], - [ - "Italy", - "Italy" - ], - [ - "Japan", - "Japan" - ], - [ - "Morocco", - "Morocco" - ], - [ - "Myanmar", - "Myanmar" - ], - [ - "Netherlands", - "Netherlands" - ], - [ - "Portugal", - "Portugal" - ], - [ - "Russia", - "Russia" - ], - [ - "Singapore", - "Singapore" - ], - [ - "Spain", - "Spain" - ], - [ - "Thailand", - "Thailand" - ], - [ - "Timorleste", - "Timorleste" - ], - [ - "Uk", - "Uk" - ], - [ - "Ukraine", - "Ukraine" - ], - [ - "Usa", - "Usa" - ], - [ - "Zambia", - "Zambia" - ] - ], - "description": "The name of the country that Superset should display" - }, - "country_fieldtype": { - "type": "SelectControl", - "label": "Country Field Type", - "default": "cca2", - "choices": [ - [ - "name", - "Full name" - ], - [ - "cioc", - "code International Olympic Committee (cioc)" - ], - [ - "cca2", - "code ISO 3166-1 alpha-2 (cca2)" - ], - [ - "cca3", - "code ISO 3166-1 alpha-3 (cca3)" - ] - ], - "description": "The country code standard that Superset should expect to find in the [country] column" - }, - "freq": { - "type": "SelectControl", - "label": "Frequency", - "default": "W-MON", - "freeForm": true, - "clearable": false, - "choices": [ - [ - "AS", - "Year (freq=AS)" - ], - [ - "52W-MON", - "52 weeks starting Monday (freq=52W-MON)" - ], - [ - "W-SUN", - "1 week starting Sunday (freq=W-SUN)" - ], - [ - "W-MON", - "1 week starting Monday (freq=W-MON)" - ], - [ - "D", - "Day (freq=D)" - ], - [ - "4W-MON", - "4 weeks (freq=4W-MON)" - ] - ], - "description": "The periodicity over which to pivot time. Users can provide\n \"Pandas\" offset alias.\n Click on the info bubble for more details on accepted \"freq\" expressions." - }, - "groupby": { - "type": "SelectControl", - "multi": true, - "label": "Group by", - "default": [], - "includeTime": false, - "description": "One or many controls to group by", - "valueKey": "column_name" - }, - "dimension": { - "type": "SelectControl", - "multi": false, - "label": "Dimension", - "default": null, - "includeTime": false, - "description": "Select a dimension", - "valueKey": "column_name" - }, - "columns": { - "type": "SelectControl", - "multi": true, - "label": "Columns", - "default": [], - "includeTime": false, - "description": "One or many controls to pivot as columns", - "valueKey": "column_name" - }, - "all_columns": { - "type": "SelectControl", - "multi": true, - "label": "Columns", - "default": [], - "description": "Columns to display", - "valueKey": "column_name" - }, - "spatial": { - "type": "SpatialControl", - "label": "Longitude & Latitude", - "validators": [ - null - ], - "description": "Point to your spatial columns" - }, - "start_spatial": { - "type": "SpatialControl", - "label": "Start Longitude & Latitude", - "validators": [ - null - ], - "description": "Point to your spatial columns" - }, - "end_spatial": { - "type": "SpatialControl", - "label": "End Longitude & Latitude", - "validators": [ - null - ], - "description": "Point to your spatial columns" - }, - "longitude": { - "type": "SelectControl", - "label": "Longitude", - "default": 1, - "validators": [ - null - ], - "description": "Select the longitude column" - }, - "latitude": { - "type": "SelectControl", - "label": "Latitude", - "default": 1, - "validators": [ - null - ], - "description": "Select the latitude column" - }, - "filter_nulls": { - "type": "CheckboxControl", - "label": "Ignore null locations", - "default": true, - "description": "Whether to ignore locations that are null" - }, - "geojson": { - "type": "SelectControl", - "label": "GeoJson Column", - "validators": [ - null - ], - "description": "Select the geojson column" - }, - "polygon": { - "type": "SelectControl", - "label": "Polygon Column", - "validators": [ - null - ], - "description": "Select the polygon column. Each row should contain JSON.array(N) of [longitude, latitude] points" - }, - "point_radius_scale": { - "type": "SelectControl", - "freeForm": true, - "label": "Point Radius Scale", - "validators": [ - null - ], - "default": null, - "choices": [ - [ - 0, - "0" - ], - [ - 100, - "100" - ], - [ - 200, - "200" - ], - [ - 300, - "300" - ], - [ - 500, - "500" - ] - ] - }, - "stroke_width": { - "type": "SelectControl", - "freeForm": true, - "label": "Stroke Width", - "validators": [ - null - ], - "default": null, - "renderTrigger": true, - "choices": [ - [ - 1, - "1" - ], - [ - 2, - "2" - ], - [ - 3, - "3" - ], - [ - 4, - "4" - ], - [ - 5, - "5" - ] - ] - }, - "all_columns_x": { - "type": "SelectControl", - "label": "X", - "default": null, - "description": "Columns to display" - }, - "all_columns_y": { - "type": "SelectControl", - "label": "Y", - "default": null, - "description": "Columns to display" - }, - "druid_time_origin": { - "type": "SelectControl", - "freeForm": true, - "label": "Origin", - "choices": [ - [ - "", - "default" - ], - [ - "now", - "now" - ] - ], - "default": null, - "description": "Defines the origin where time buckets start, accepts natural dates as in `now`, `sunday` or `1970-01-01`" - }, - "bottom_margin": { - "type": "SelectControl", - "clearable": false, - "freeForm": true, - "label": "Bottom Margin", - "choices": [ - [ - "auto", - "auto" - ], - [ - 50, - "50" - ], - [ - 75, - "75" - ], - [ - 100, - "100" - ], - [ - 125, - "125" - ], - [ - 150, - "150" - ], - [ - 200, - "200" - ] - ], - "default": "auto", - "renderTrigger": true, - "description": "Bottom margin, in pixels, allowing for more room for axis labels" - }, - "x_ticks_layout": { - "type": "SelectControl", - "label": "X Tick Layout", - "choices": [ - [ - "auto", - "auto" - ], - [ - "flat", - "flat" - ], - [ - "45°", - "45°" - ], - [ - "staggered", - "staggered" - ] - ], - "default": "auto", - "clearable": false, - "renderTrigger": true, - "description": "The way the ticks are laid out on the X-axis" - }, - "left_margin": { - "type": "SelectControl", - "freeForm": true, - "clearable": false, - "label": "Left Margin", - "choices": [ - [ - "auto", - "auto" - ], - [ - 50, - "50" - ], - [ - 75, - "75" - ], - [ - 100, - "100" - ], - [ - 125, - "125" - ], - [ - 150, - "150" - ], - [ - 200, - "200" - ] - ], - "default": "auto", - "renderTrigger": true, - "description": "Left margin, in pixels, allowing for more room for axis labels" - }, - "granularity": { - "type": "SelectControl", - "freeForm": true, - "label": "Time Granularity", - "default": "one day", - "choices": [ - [ - null, - "all" - ], - [ - "PT5S", - "5 seconds" - ], - [ - "PT30S", - "30 seconds" - ], - [ - "PT1M", - "1 minute" - ], - [ - "PT5M", - "5 minutes" - ], - [ - "PT30M", - "30 minutes" - ], - [ - "PT1H", - "1 hour" - ], - [ - "PT6H", - "6 hour" - ], - [ - "P1D", - "1 day" - ], - [ - "P7D", - "7 days" - ], - [ - "P1W", - "week" - ], - [ - "week_starting_sunday", - "week starting Sunday" - ], - [ - "week_ending_saturday", - "week ending Saturday" - ], - [ - "P1M", - "month" - ], - [ - "P3M", - "quarter" - ], - [ - "P1Y", - "year" - ] - ], - "description": "The time granularity for the visualization. Note that you can type and use simple natural language as in `10 seconds`, `1 day` or `56 weeks`" - }, - "domain_granularity": { - "type": "SelectControl", - "label": "Domain", - "default": "month", - "choices": [ - [ - "hour", - "hour" - ], - [ - "day", - "day" - ], - [ - "week", - "week" - ], - [ - "month", - "month" - ], - [ - "year", - "year" - ] - ], - "description": "The time unit used for the grouping of blocks" - }, - "subdomain_granularity": { - "type": "SelectControl", - "label": "Subdomain", - "default": "day", - "choices": [ - [ - "min", - "min" - ], - [ - "hour", - "hour" - ], - [ - "day", - "day" - ], - [ - "week", - "week" - ], - [ - "month", - "month" - ] - ], - "description": "The time unit for each block. Should be a smaller unit than domain_granularity. Should be larger or equal to Time Grain" - }, - "link_length": { - "type": "SelectControl", - "renderTrigger": true, - "freeForm": true, - "label": "Link Length", - "default": "200", - "choices": [ - [ - "10", - "10" - ], - [ - "25", - "25" - ], - [ - "50", - "50" - ], - [ - "75", - "75" - ], - [ - "100", - "100" - ], - [ - "150", - "150" - ], - [ - "200", - "200" - ], - [ - "250", - "250" - ] - ], - "description": "Link length in the force layout" - }, - "charge": { - "type": "SelectControl", - "renderTrigger": true, - "freeForm": true, - "label": "Charge", - "default": "-500", - "choices": [ - [ - "-50", - "-50" - ], - [ - "-75", - "-75" - ], - [ - "-100", - "-100" - ], - [ - "-150", - "-150" - ], - [ - "-200", - "-200" - ], - [ - "-250", - "-250" - ], - [ - "-500", - "-500" - ], - [ - "-1000", - "-1000" - ], - [ - "-2500", - "-2500" - ], - [ - "-5000", - "-5000" - ] - ], - "description": "Charge in the force layout" - }, - "granularity_sqla": { - "type": "SelectControl", - "label": "Time Column", - "description": "The time column for the visualization. Note that you can define arbitrary expression that return a DATETIME column in the table. Also note that the filter below is applied against this column or expression", - "clearable": false, - "valueKey": "column_name" - }, - "time_grain_sqla": { - "type": "SelectControl", - "label": "Time Grain", - "default": "P1D", - "description": "The time granularity for the visualization. This applies a date transformation to alter your time column and defines a new time granularity. The options here are defined on a per database engine basis in the Superset source code." - }, - "resample_rule": { - "type": "SelectControl", - "freeForm": true, - "label": "Rule", - "default": null, - "choices": [ - [ - "", - "" - ], - [ - "1T", - "1T" - ], - [ - "1H", - "1H" - ], - [ - "1D", - "1D" - ], - [ - "7D", - "7D" - ], - [ - "1M", - "1M" - ], - [ - "1AS", - "1AS" - ] - ], - "description": "Pandas resample rule" - }, - "resample_how": { - "type": "SelectControl", - "freeForm": true, - "label": "How", - "default": null, - "choices": [ - [ - "", - "" - ], - [ - "mean", - "mean" - ], - [ - "sum", - "sum" - ], - [ - "median", - "median" - ] - ], - "description": "Pandas resample how" - }, - "resample_fillmethod": { - "type": "SelectControl", - "freeForm": true, - "label": "Fill Method", - "default": null, - "choices": [ - [ - "", - "" - ], - [ - "ffill", - "ffill" - ], - [ - "bfill", - "bfill" - ] - ], - "description": "Pandas resample fill method" - }, - "time_range": { - "type": "DateFilterControl", - "freeForm": true, - "label": "Time range", - "default": "Last week" - }, - "max_bubble_size": { - "type": "SelectControl", - "freeForm": true, - "label": "Max Bubble Size", - "default": "25", - "choices": [ - [ - "5", - "5" - ], - [ - "10", - "10" - ], - [ - "15", - "15" - ], - [ - "25", - "25" - ], - [ - "50", - "50" - ], - [ - "75", - "75" - ], - [ - "100", - "100" - ] - ] - }, - "whisker_options": { - "type": "SelectControl", - "freeForm": true, - "label": "Whisker/outlier options", - "default": "Tukey", - "description": "Determines how whiskers and outliers are calculated.", - "choices": [ - [ - "Tukey", - "Tukey" - ], - [ - "Min/max (no outliers)", - "Min/max (no outliers)" - ], - [ - "2/98 percentiles", - "2/98 percentiles" - ], - [ - "9/91 percentiles", - "9/91 percentiles" - ] - ] - }, - "treemap_ratio": { - "type": "TextControl", - "label": "Ratio", - "renderTrigger": true, - "isFloat": true, - "default": 1.618033988749895, - "description": "Target aspect ratio for treemap tiles." - }, - "number_format": { - "type": "SelectControl", - "freeForm": true, - "label": "Number format", - "renderTrigger": true, - "default": "SMART_NUMBER", - "choices": [ - [ - ".1s", - ".1s (12345.432 => 10k)" - ], - [ - ".3s", - ".3s (12345.432 => 12.3k)" - ], - [ - ",.1%", - ",.1% (12345.432 => 1,234,543.2%)" - ], - [ - ".3%", - ".3% (12345.432 => 1234543.200%)" - ], - [ - ".4r", - ".4r (12345.432 => 12350)" - ], - [ - ",.3f", - ",.3f (12345.432 => 12,345.432)" - ], - [ - "+,", - "+, (12345.432 => +12,345.432)" - ], - [ - "$,.2f", - "$,.2f (12345.432 => $12,345.43)" - ] - ], - "description": "D3 format syntax: https://github.com/d3/d3-format" - }, - "row_limit": { - "type": "SelectControl", - "freeForm": true, - "label": "Row limit", - "validators": [ - null - ], - "default": 10000, - "choices": [ - [ - 10, - "10" - ], - [ - 50, - "50" - ], - [ - 100, - "100" - ], - [ - 250, - "250" - ], - [ - 500, - "500" - ], - [ - 1000, - "1000" - ], - [ - 5000, - "5000" - ], - [ - 10000, - "10000" - ], - [ - 50000, - "50000" - ] - ] - }, - "limit": { - "type": "SelectControl", - "freeForm": true, - "label": "Series limit", - "validators": [ - null - ], - "choices": [ - [ - 0, - "0" - ], - [ - 5, - "5" - ], - [ - 10, - "10" - ], - [ - 25, - "25" - ], - [ - 50, - "50" - ], - [ - 100, - "100" - ], - [ - 500, - "500" - ] - ], - "description": "Limits the number of time series that get displayed. A sub query (or an extra phase where sub queries are not supported) is applied to limit the number of time series that get fetched and displayed. This feature is useful when grouping by high cardinality dimension(s)." - }, - "timeseries_limit_metric": { - "type": "MetricsControl", - "label": "Sort By", - "default": null, - "description": "Metric used to define the top series" - }, - "order_desc": { - "type": "CheckboxControl", - "label": "Sort Descending", - "default": true, - "description": "Whether to sort descending or ascending" - }, - "rolling_type": { - "type": "SelectControl", - "label": "Rolling", - "default": "None", - "choices": [ - [ - "None", - "None" - ], - [ - "mean", - "mean" - ], - [ - "sum", - "sum" - ], - [ - "std", - "std" - ], - [ - "cumsum", - "cumsum" - ] - ], - "description": "Defines a rolling window function to apply, works along with the [Periods] text box" - }, - "multiplier": { - "type": "TextControl", - "label": "Multiplier", - "isFloat": true, - "renderTrigger": true, - "default": 1, - "description": "Factor to multiply the metric by" - }, - "rolling_periods": { - "type": "TextControl", - "label": "Periods", - "isInt": true, - "description": "Defines the size of the rolling window function, relative to the time granularity selected" - }, - "cell_size": { - "type": "TextControl", - "isInt": true, - "default": 10, - "validators": [ - null - ], - "renderTrigger": true, - "label": "Cell Size", - "description": "The size of the square cell, in pixels" - }, - "cell_padding": { - "type": "TextControl", - "isInt": true, - "validators": [ - null - ], - "renderTrigger": true, - "default": 2, - "label": "Cell Padding", - "description": "The distance between cells, in pixels" - }, - "cell_radius": { - "type": "TextControl", - "isInt": true, - "validators": [ - null - ], - "renderTrigger": true, - "default": 0, - "label": "Cell Radius", - "description": "The pixel radius" - }, - "steps": { - "type": "TextControl", - "isInt": true, - "validators": [ - null - ], - "renderTrigger": true, - "default": 10, - "label": "Color Steps", - "description": "The number color \"steps\"" - }, - "grid_size": { - "type": "TextControl", - "label": "Grid Size", - "renderTrigger": true, - "default": 20, - "isInt": true, - "description": "Defines the grid size in pixels" - }, - "min_periods": { - "type": "TextControl", - "label": "Min Periods", - "isInt": true, - "description": "The minimum number of rolling periods required to show a value. For instance if you do a cumulative sum on 7 days you may want your \"Min Period\" to be 7, so that all data points shown are the total of 7 periods. This will hide the \"ramp up\" taking place over the first 7 periods" - }, - "series": { - "type": "SelectControl", - "multi": false, - "label": "Series", - "default": null, - "includeTime": false, - "description": "Defines the grouping of entities. Each series is shown as a specific color on the chart and has a legend toggle", - "valueKey": "column_name" - }, - "entity": { - "type": "SelectControl", - "multi": false, - "label": "Entity", - "default": null, - "includeTime": false, - "description": "This defines the element to be plotted on the chart", - "valueKey": "column_name", - "validators": [ - null - ] - }, - "x": { - "type": "MetricsControl", - "multi": false, - "label": "X Axis", - "validators": [ - null - ], - "default": null, - "description": "Metric assigned to the [X] axis" - }, - "y": { - "type": "MetricsControl", - "multi": false, - "label": "Y Axis", - "validators": [ - null - ], - "default": null, - "description": "Metric assigned to the [Y] axis" - }, - "size": { - "type": "MetricsControl", - "multi": false, - "label": "Bubble Size", - "validators": [ - null - ], - "default": null, - "description": "One or many metrics to display" - }, - "url": { - "type": "TextControl", - "label": "URL", - "description": "The URL, this control is templated, so you can integrate {{ width }} and/or {{ height }} in your URL string.", - "default": "https://www.youtube.com/embed/AdSZJzb-aX8" - }, - "x_axis_label": { - "type": "TextControl", - "label": "X Axis Label", - "renderTrigger": true, - "default": "" - }, - "y_axis_label": { - "type": "TextControl", - "label": "Y Axis Label", - "renderTrigger": true, - "default": "" - }, - "compare_lag": { - "type": "TextControl", - "label": "Comparison Period Lag", - "isInt": true, - "description": "Based on granularity, number of time periods to compare against" - }, - "compare_suffix": { - "type": "TextControl", - "label": "Comparison suffix", - "description": "Suffix to apply after the percentage display" - }, - "table_timestamp_format": { - "type": "SelectControl", - "freeForm": true, - "label": "Table Timestamp Format", - "default": "%Y-%m-%d %H:%M:%S", - "renderTrigger": true, - "validators": [ - null - ], - "clearable": false, - "choices": [ - [ - "smart_date", - "Adaptative formating" - ], - [ - "%d/%m/%Y", - "%d/%m/%Y | 14/01/2019" - ], - [ - "%m/%d/%Y", - "%m/%d/%Y | 01/14/2019" - ], - [ - "%Y-%m-%d", - "%Y-%m-%d | 2019-01-14" - ], - [ - "%Y-%m-%d %H:%M:%S", - "%Y-%m-%d %H:%M:%S | 2019-01-14 01:32:10" - ], - [ - "%d-%m-%Y %H:%M:%S", - "%Y-%m-%d %H:%M:%S | 14-01-2019 01:32:10" - ], - [ - "%H:%M:%S", - "%H:%M:%S | 01:32:10" - ] - ], - "description": "Timestamp Format" - }, - "series_height": { - "type": "SelectControl", - "renderTrigger": true, - "freeForm": true, - "label": "Series Height", - "default": "25", - "choices": [ - [ - "10", - "10" - ], - [ - "25", - "25" - ], - [ - "40", - "40" - ], - [ - "50", - "50" - ], - [ - "75", - "75" - ], - [ - "100", - "100" - ], - [ - "150", - "150" - ], - [ - "200", - "200" - ] - ], - "description": "Pixel height of each series" - }, - "page_length": { - "type": "SelectControl", - "freeForm": true, - "renderTrigger": true, - "label": "Page Length", - "default": 0, - "choices": [ - [ - 0, - "0" - ], - [ - 10, - "10" - ], - [ - 25, - "25" - ], - [ - 40, - "40" - ], - [ - 50, - "50" - ], - [ - 75, - "75" - ], - [ - 100, - "100" - ], - [ - 150, - "150" - ], - [ - 200, - "200" - ] - ], - "description": "Rows per page, 0 means no pagination" - }, - "x_axis_format": { - "type": "SelectControl", - "freeForm": true, - "label": "X Axis Format", - "renderTrigger": true, - "default": "SMART_NUMBER", - "choices": [ - [ - ".1s", - ".1s (12345.432 => 10k)" - ], - [ - ".3s", - ".3s (12345.432 => 12.3k)" - ], - [ - ",.1%", - ",.1% (12345.432 => 1,234,543.2%)" - ], - [ - ".3%", - ".3% (12345.432 => 1234543.200%)" - ], - [ - ".4r", - ".4r (12345.432 => 12350)" - ], - [ - ",.3f", - ",.3f (12345.432 => 12,345.432)" - ], - [ - "+,", - "+, (12345.432 => +12,345.432)" - ], - [ - "$,.2f", - "$,.2f (12345.432 => $12,345.43)" - ] - ], - "description": "D3 format syntax: https://github.com/d3/d3-format" - }, - "x_axis_time_format": { - "type": "SelectControl", - "freeForm": true, - "label": "X Axis Format", - "renderTrigger": true, - "default": "smart_date", - "choices": [ - [ - "smart_date", - "Adaptative formating" - ], - [ - "%d/%m/%Y", - "%d/%m/%Y | 14/01/2019" - ], - [ - "%m/%d/%Y", - "%m/%d/%Y | 01/14/2019" - ], - [ - "%Y-%m-%d", - "%Y-%m-%d | 2019-01-14" - ], - [ - "%Y-%m-%d %H:%M:%S", - "%Y-%m-%d %H:%M:%S | 2019-01-14 01:32:10" - ], - [ - "%d-%m-%Y %H:%M:%S", - "%Y-%m-%d %H:%M:%S | 14-01-2019 01:32:10" - ], - [ - "%H:%M:%S", - "%H:%M:%S | 01:32:10" - ] - ], - "description": "D3 format syntax: https://github.com/d3/d3-format" - }, - "y_axis_format": { - "type": "SelectControl", - "freeForm": true, - "label": "Y Axis Format", - "renderTrigger": true, - "default": "SMART_NUMBER", - "choices": [ - [ - ".1s", - ".1s (12345.432 => 10k)" - ], - [ - ".3s", - ".3s (12345.432 => 12.3k)" - ], - [ - ",.1%", - ",.1% (12345.432 => 1,234,543.2%)" - ], - [ - ".3%", - ".3% (12345.432 => 1234543.200%)" - ], - [ - ".4r", - ".4r (12345.432 => 12350)" - ], - [ - ",.3f", - ",.3f (12345.432 => 12,345.432)" - ], - [ - "+,", - "+, (12345.432 => +12,345.432)" - ], - [ - "$,.2f", - "$,.2f (12345.432 => $12,345.43)" - ] - ], - "description": "D3 format syntax: https://github.com/d3/d3-format" - }, - "y_axis_2_format": { - "type": "SelectControl", - "freeForm": true, - "label": "Right Axis Format", - "default": "SMART_NUMBER", - "choices": [ - [ - ".1s", - ".1s (12345.432 => 10k)" - ], - [ - ".3s", - ".3s (12345.432 => 12.3k)" - ], - [ - ",.1%", - ",.1% (12345.432 => 1,234,543.2%)" - ], - [ - ".3%", - ".3% (12345.432 => 1234543.200%)" - ], - [ - ".4r", - ".4r (12345.432 => 12350)" - ], - [ - ",.3f", - ",.3f (12345.432 => 12,345.432)" - ], - [ - "+,", - "+, (12345.432 => +12,345.432)" - ], - [ - "$,.2f", - "$,.2f (12345.432 => $12,345.43)" - ] - ], - "description": "D3 format syntax: https://github.com/d3/d3-format" - }, - "date_time_format": { - "type": "SelectControl", - "freeForm": true, - "label": "Date Time Format", - "renderTrigger": true, - "default": "smart_date", - "choices": [ - [ - "smart_date", - "Adaptative formating" - ], - [ - "%d/%m/%Y", - "%d/%m/%Y | 14/01/2019" - ], - [ - "%m/%d/%Y", - "%m/%d/%Y | 01/14/2019" - ], - [ - "%Y-%m-%d", - "%Y-%m-%d | 2019-01-14" - ], - [ - "%Y-%m-%d %H:%M:%S", - "%Y-%m-%d %H:%M:%S | 2019-01-14 01:32:10" - ], - [ - "%d-%m-%Y %H:%M:%S", - "%Y-%m-%d %H:%M:%S | 14-01-2019 01:32:10" - ], - [ - "%H:%M:%S", - "%H:%M:%S | 01:32:10" - ] - ], - "description": "D3 format syntax: https://github.com/d3/d3-format" - }, - "markup_type": { - "type": "SelectControl", - "label": "Markup Type", - "clearable": false, - "choices": [ - [ - "markdown", - "markdown" - ], - [ - "html", - "html" - ] - ], - "default": "markdown", - "validators": [ - null - ], - "description": "Pick your favorite markup language" - }, - "rotation": { - "type": "SelectControl", - "label": "Rotation", - "choices": [ - [ - "random", - "random" - ], - [ - "flat", - "flat" - ], - [ - "square", - "square" - ] - ], - "renderTrigger": true, - "default": "flat", - "description": "Rotation to apply to words in the cloud" - }, - "line_interpolation": { - "type": "SelectControl", - "label": "Line Style", - "renderTrigger": true, - "choices": [ - [ - "linear", - "linear" - ], - [ - "basis", - "basis" - ], - [ - "cardinal", - "cardinal" - ], - [ - "monotone", - "monotone" - ], - [ - "step-before", - "step-before" - ], - [ - "step-after", - "step-after" - ] - ], - "default": "linear", - "description": "Line interpolation as defined by d3.js" - }, - "pie_label_type": { - "type": "SelectControl", - "label": "Label Type", - "default": "key", - "renderTrigger": true, - "choices": [ - [ - "key", - "Category Name" - ], - [ - "value", - "Value" - ], - [ - "percent", - "Percentage" - ], - [ - "key_value", - "Category and Value" - ], - [ - "key_percent", - "Category and Percentage" - ] - ], - "description": "What should be shown on the label?" - }, - "code": { - "type": "TextAreaControl", - "label": "Code", - "description": "Put your code here", - "default": "" - }, - "pandas_aggfunc": { - "type": "SelectControl", - "label": "Aggregation function", - "clearable": false, - "choices": [ - [ - "sum", - "sum" - ], - [ - "mean", - "mean" - ], - [ - "min", - "min" - ], - [ - "max", - "max" - ], - [ - "stdev", - "stdev" - ], - [ - "var", - "var" - ] - ], - "default": "sum", - "description": "Aggregate function to apply when pivoting and computing the total rows and columns" - }, - "js_agg_function": { - "type": "SelectControl", - "label": "Dynamic Aggregation Function", - "description": "The function to use when aggregating points into groups", - "default": "sum", - "clearable": false, - "renderTrigger": true, - "choices": [ - [ - "sum", - "sum" - ], - [ - "min", - "min" - ], - [ - "max", - "max" - ], - [ - "mean", - "mean" - ], - [ - "median", - "median" - ], - [ - "count", - "count" - ], - [ - "variance", - "variance" - ], - [ - "deviation", - "deviation" - ], - [ - "p1", - "p1" - ], - [ - "p5", - "p5" - ], - [ - "p95", - "p95" - ], - [ - "p99", - "p99" - ] - ] - }, - "size_from": { - "type": "TextControl", - "isInt": true, - "label": "Font Size From", - "renderTrigger": true, - "default": "20", - "description": "Font size for the smallest value in the list" - }, - "size_to": { - "type": "TextControl", - "isInt": true, - "label": "Font Size To", - "renderTrigger": true, - "default": "150", - "description": "Font size for the biggest value in the list" - }, - "header_font_size": { - "type": "SelectControl", - "label": "Header Font Size", - "renderTrigger": true, - "clearable": false, - "default": 0.3, - "options": [ - { - "label": "Tiny", - "value": 0.125 - }, - { - "label": "Small", - "value": 0.2 - }, - { - "label": "Normal", - "value": 0.3 - }, - { - "label": "Large", - "value": 0.4 - }, - { - "label": "Huge", - "value": 0.5 - } - ] - }, - "subheader_font_size": { - "type": "SelectControl", - "label": "Subheader Font Size", - "renderTrigger": true, - "clearable": false, - "default": 0.125, - "options": [ - { - "label": "Tiny", - "value": 0.125 - }, - { - "label": "Small", - "value": 0.2 - }, - { - "label": "Normal", - "value": 0.3 - }, - { - "label": "Large", - "value": 0.4 - }, - { - "label": "Huge", - "value": 0.5 - } - ] - }, - "instant_filtering": { - "type": "CheckboxControl", - "label": "Instant Filtering", - "renderTrigger": true, - "default": true, - "description": "Whether to apply filters as they change, or wait forusers to hit an [Apply] button" - }, - "extruded": { - "type": "CheckboxControl", - "label": "Extruded", - "renderTrigger": true, - "default": true, - "description": "Whether to make the grid 3D" - }, - "show_brush": { - "type": "SelectControl", - "label": "Show Range Filter", - "renderTrigger": true, - "clearable": false, - "default": "auto", - "choices": [ - [ - "yes", - "Yes" - ], - [ - "no", - "No" - ], - [ - "auto", - "Auto" - ] - ], - "description": "Whether to display the time range interactive selector" - }, - "date_filter": { - "type": "CheckboxControl", - "label": "Date Filter", - "default": true, - "description": "Whether to include a time filter" - }, - "show_sqla_time_granularity": { - "type": "CheckboxControl", - "label": "Show SQL Granularity Dropdown", - "default": false, - "description": "Check to include SQL Granularity dropdown" - }, - "show_sqla_time_column": { - "type": "CheckboxControl", - "label": "Show SQL Time Column", - "default": false, - "description": "Check to include Time Column dropdown" - }, - "show_druid_time_granularity": { - "type": "CheckboxControl", - "label": "Show Druid Granularity Dropdown", - "default": false, - "description": "Check to include Druid Granularity dropdown" - }, - "show_druid_time_origin": { - "type": "CheckboxControl", - "label": "Show Druid Time Origin", - "default": false, - "description": "Check to include Time Origin dropdown" - }, - "show_datatable": { - "type": "CheckboxControl", - "label": "Data Table", - "default": false, - "renderTrigger": true, - "description": "Whether to display the interactive data table" - }, - "include_search": { - "type": "CheckboxControl", - "label": "Search Box", - "renderTrigger": true, - "default": false, - "description": "Whether to include a client-side search box" - }, - "table_filter": { - "type": "CheckboxControl", - "label": "Emit Filter Events", - "renderTrigger": true, - "default": false, - "description": "Whether to apply filter when items are clicked" - }, - "align_pn": { - "type": "CheckboxControl", - "label": "Align +/-", - "renderTrigger": true, - "default": false, - "description": "Whether to align the background chart for +/- values" - }, - "color_pn": { - "type": "CheckboxControl", - "label": "Color +/-", - "renderTrigger": true, - "default": true, - "description": "Whether to color +/- values" - }, - "show_bubbles": { - "type": "CheckboxControl", - "label": "Show Bubbles", - "default": false, - "renderTrigger": true, - "description": "Whether to display bubbles on top of countries" - }, - "show_legend": { - "type": "CheckboxControl", - "label": "Legend", - "renderTrigger": true, - "default": true, - "description": "Whether to display the legend (toggles)" - }, - "send_time_range": { - "type": "CheckboxControl", - "label": "Propagate", - "renderTrigger": true, - "default": false, - "description": "Send range filter events to other charts" - }, - "toggle_polygons": { - "type": "CheckboxControl", - "label": "Multiple filtering", - "renderTrigger": true, - "default": true, - "description": "Allow sending multiple polygons as a filter event" - }, - "num_buckets": { - "type": "SelectControl", - "multi": false, - "freeForm": true, - "label": "Number of buckets to group data", - "default": 5, - "choices": [ - [ - 2, - "2" - ], - [ - 3, - "3" - ], - [ - 5, - "5" - ], - [ - 10, - "10" - ] - ], - "description": "How many buckets should the data be grouped in.", - "renderTrigger": true - }, - "break_points": { - "type": "SelectControl", - "multi": true, - "freeForm": true, - "label": "Bucket break points", - "choices": [], - "description": "List of n+1 values for bucketing metric into n buckets.", - "renderTrigger": true - }, - "show_labels": { - "type": "CheckboxControl", - "label": "Show Labels", - "renderTrigger": true, - "default": true, - "description": "Whether to display the labels. Note that the label only displays when the the 5% threshold." - }, - "show_values": { - "type": "CheckboxControl", - "label": "Show Values", - "renderTrigger": true, - "default": false, - "description": "Whether to display the numerical values within the cells" - }, - "show_metric_name": { - "type": "CheckboxControl", - "label": "Show Metric Names", - "renderTrigger": true, - "default": true, - "description": "Whether to display the metric name as a title" - }, - "show_trend_line": { - "type": "CheckboxControl", - "label": "Show Trend Line", - "renderTrigger": true, - "default": true, - "description": "Whether to display the trend line" - }, - "start_y_axis_at_zero": { - "type": "CheckboxControl", - "label": "Start y-axis at 0", - "renderTrigger": true, - "default": true, - "description": "Start y-axis at zero. Uncheck to start y-axis at minimum value in the data." - }, - "x_axis_showminmax": { - "type": "CheckboxControl", - "label": "X bounds", - "renderTrigger": true, - "default": false, - "description": "Whether to display the min and max values of the X-axis" - }, - "y_axis_showminmax": { - "type": "CheckboxControl", - "label": "Y bounds", - "renderTrigger": true, - "default": false, - "description": "Whether to display the min and max values of the Y-axis" - }, - "rich_tooltip": { - "type": "CheckboxControl", - "label": "Rich Tooltip", - "renderTrigger": true, - "default": true, - "description": "The rich tooltip shows a list of all series for that point in time" - }, - "y_log_scale": { - "type": "CheckboxControl", - "label": "Y Log Scale", - "default": false, - "renderTrigger": true, - "description": "Use a log scale for the Y-axis" - }, - "x_log_scale": { - "type": "CheckboxControl", - "label": "X Log Scale", - "default": false, - "renderTrigger": true, - "description": "Use a log scale for the X-axis" - }, - "log_scale": { - "type": "CheckboxControl", - "label": "Log Scale", - "default": false, - "renderTrigger": true, - "description": "Use a log scale" - }, - "donut": { - "type": "CheckboxControl", - "label": "Donut", - "default": false, - "renderTrigger": true, - "description": "Do you want a donut or a pie?" - }, - "labels_outside": { - "type": "CheckboxControl", - "label": "Put labels outside", - "default": true, - "renderTrigger": true, - "description": "Put the labels outside the pie?" - }, - "contribution": { - "type": "CheckboxControl", - "label": "Contribution", - "default": false, - "description": "Compute the contribution to the total" - }, - "time_compare": { - "type": "SelectControl", - "multi": true, - "freeForm": true, - "label": "Time Shift", - "choices": [ - [ - "1 day", - "1 day" - ], - [ - "1 week", - "1 week" - ], - [ - "28 days", - "28 days" - ], - [ - "30 days", - "30 days" - ], - [ - "52 weeks", - "52 weeks" - ], - [ - "1 year", - "1 year" - ] - ], - "description": "Overlay one or more timeseries from a relative time period. Expects relative time deltas in natural language (example: 24 hours, 7 days, 56 weeks, 365 days)" - }, - "comparison_type": { - "type": "SelectControl", - "label": "Calculation type", - "default": "values", - "choices": [ - [ - "values", - "Actual Values" - ], - [ - "absolute", - "Absolute difference" - ], - [ - "percentage", - "Percentage change" - ], - [ - "ratio", - "Ratio" - ] - ], - "description": "How to display time shifts: as individual lines; as the absolute difference between the main time series and each time shift; as the percentage change; or as the ratio between series and time shifts." - }, - "subheader": { - "type": "TextControl", - "label": "Subheader", - "description": "Description text that shows up below your Big Number" - }, - "mapbox_label": { - "type": "SelectControl", - "multi": true, - "label": "label", - "default": [], - "description": "`count` is COUNT(*) if a group by is used. Numerical columns will be aggregated with the aggregator. Non-numerical columns will be used to label points. Leave empty to get a count of points in each cluster." - }, - "mapbox_style": { - "type": "SelectControl", - "label": "Map Style", - "clearable": false, - "renderTrigger": true, - "choices": [ - [ - "mapbox://styles/mapbox/streets-v9", - "Streets" - ], - [ - "mapbox://styles/mapbox/dark-v9", - "Dark" - ], - [ - "mapbox://styles/mapbox/light-v9", - "Light" - ], - [ - "mapbox://styles/mapbox/satellite-streets-v9", - "Satellite Streets" - ], - [ - "mapbox://styles/mapbox/satellite-v9", - "Satellite" - ], - [ - "mapbox://styles/mapbox/outdoors-v9", - "Outdoors" - ] - ], - "default": "mapbox://styles/mapbox/light-v9", - "description": "Base layer map style" - }, - "clustering_radius": { - "type": "SelectControl", - "freeForm": true, - "label": "Clustering Radius", - "default": "60", - "choices": [ - [ - "0", - "0" - ], - [ - "20", - "20" - ], - [ - "40", - "40" - ], - [ - "60", - "60" - ], - [ - "80", - "80" - ], - [ - "100", - "100" - ], - [ - "200", - "200" - ], - [ - "500", - "500" - ], - [ - "1000", - "1000" - ] - ], - "description": "The radius (in pixels) the algorithm uses to define a cluster. Choose 0 to turn off clustering, but beware that a large number of points (>1000) will cause lag." - }, - "point_radius_fixed": { - "type": "FixedOrMetricControl", - "label": "Point Size", - "default": { - "type": "fix", - "value": 1000 - }, - "description": "Fixed point radius" - }, - "point_radius": { - "type": "SelectControl", - "label": "Point Radius", - "default": "Auto", - "description": "The radius of individual points (ones that are not in a cluster). Either a numerical column or `Auto`, which scales the point based on the largest cluster" - }, - "point_radius_unit": { - "type": "SelectControl", - "label": "Point Radius Unit", - "default": "Pixels", - "choices": [ - [ - "Pixels", - "Pixels" - ], - [ - "Miles", - "Miles" - ], - [ - "Kilometers", - "Kilometers" - ] - ], - "description": "The unit of measure for the specified point radius" - }, - "point_unit": { - "type": "SelectControl", - "label": "Point Unit", - "default": "square_m", - "clearable": false, - "choices": [ - [ - "square_m", - "Square meters" - ], - [ - "square_km", - "Square kilometers" - ], - [ - "square_miles", - "Square miles" - ], - [ - "radius_m", - "Radius in meters" - ], - [ - "radius_km", - "Radius in kilometers" - ], - [ - "radius_miles", - "Radius in miles" - ] - ], - "description": "The unit of measure for the specified point radius" - }, - "global_opacity": { - "type": "TextControl", - "label": "Opacity", - "default": 1, - "isFloat": true, - "description": "Opacity of all clusters, points, and labels. Between 0 and 1." - }, - "opacity": { - "type": "SliderControl", - "label": "Opacity", - "default": 80, - "step": 1, - "min": 0, - "max": 100, - "renderTrigger": true, - "description": "Opacity, expects values between 0 and 100" - }, - "viewport": { - "type": "ViewportControl", - "label": "Viewport", - "renderTrigger": false, - "description": "Parameters related to the view and perspective on the map", - "default": { - "longitude": 6.85236157047845, - "latitude": 31.222656842808707, - "zoom": 1, - "bearing": 0, - "pitch": 0 - }, - "dontRefreshOnChange": true - }, - "viewport_zoom": { - "type": "TextControl", - "label": "Zoom", - "renderTrigger": true, - "isFloat": true, - "default": 11, - "description": "Zoom level of the map", - "places": 8, - "dontRefreshOnChange": true - }, - "viewport_latitude": { - "type": "TextControl", - "label": "Default latitude", - "renderTrigger": true, - "default": 37.772123, - "isFloat": true, - "description": "Latitude of default viewport", - "places": 8, - "dontRefreshOnChange": true - }, - "viewport_longitude": { - "type": "TextControl", - "label": "Default longitude", - "renderTrigger": true, - "default": -122.405293, - "isFloat": true, - "description": "Longitude of default viewport", - "places": 8, - "dontRefreshOnChange": true - }, - "render_while_dragging": { - "type": "CheckboxControl", - "label": "Live render", - "default": true, - "description": "Points and clusters will update as the viewport is being changed" - }, - "mapbox_color": { - "type": "SelectControl", - "freeForm": true, - "label": "RGB Color", - "default": "rgb(0, 122, 135)", - "choices": [ - [ - "rgb(0, 139, 139)", - "Dark Cyan" - ], - [ - "rgb(128, 0, 128)", - "Purple" - ], - [ - "rgb(255, 215, 0)", - "Gold" - ], - [ - "rgb(69, 69, 69)", - "Dim Gray" - ], - [ - "rgb(220, 20, 60)", - "Crimson" - ], - [ - "rgb(34, 139, 34)", - "Forest Green" - ] - ], - "description": "The color for points and clusters in RGB" - }, - "color": { - "type": "ColorPickerControl", - "label": "Color", - "default": { - "r": 0, - "g": 122, - "b": 135, - "a": 1 - }, - "description": "Pick a color" - }, - "ranges": { - "type": "TextControl", - "label": "Ranges", - "default": "", - "description": "Ranges to highlight with shading" - }, - "range_labels": { - "type": "TextControl", - "label": "Range labels", - "default": "", - "description": "Labels for the ranges" - }, - "markers": { - "type": "TextControl", - "label": "Markers", - "default": "", - "description": "List of values to mark with triangles" - }, - "marker_labels": { - "type": "TextControl", - "label": "Marker labels", - "default": "", - "description": "Labels for the markers" - }, - "marker_lines": { - "type": "TextControl", - "label": "Marker lines", - "default": "", - "description": "List of values to mark with lines" - }, - "marker_line_labels": { - "type": "TextControl", - "label": "Marker line labels", - "default": "", - "description": "Labels for the marker lines" - }, - "annotation_layers": { - "type": "AnnotationLayerControl", - "label": "", - "default": [], - "description": "Annotation Layers", - "renderTrigger": true, - "tabOverride": "data" - }, - "adhoc_filters": { - "type": "AdhocFilterControl", - "label": "Filters", - "default": null, - "description": "", - "provideFormDataToProps": true - }, - "filters": { - "type": "FilterPanel" - }, - "slice_id": { - "type": "HiddenControl", - "label": "Chart ID", - "hidden": true, - "description": "The id of the active chart" - }, - "cache_timeout": { - "type": "HiddenControl", - "label": "Cache Timeout (seconds)", - "hidden": true, - "description": "The number of seconds before expiring the cache" - }, - "url_params": { - "type": "HiddenControl", - "label": "URL Parameters", - "hidden": true, - "description": "Extra parameters for use in jinja templated queries" - }, - "order_by_entity": { - "type": "CheckboxControl", - "label": "Order by entity id", - "description": "Important! Select this if the table is not already sorted by entity id, else there is no guarantee that all events for each entity are returned.", - "default": true - }, - "min_leaf_node_event_count": { - "type": "SelectControl", - "freeForm": false, - "label": "Minimum leaf node event count", - "default": 1, - "choices": [ - [ - 1, - "1" - ], - [ - 2, - "2" - ], - [ - 3, - "3" - ], - [ - 4, - "4" - ], - [ - 5, - "5" - ], - [ - 6, - "6" - ], - [ - 7, - "7" - ], - [ - 8, - "8" - ], - [ - 9, - "9" - ], - [ - 10, - "10" - ] - ], - "description": "Leaf nodes that represent fewer than this number of events will be initially hidden in the visualization" - }, - "color_scheme": { - "type": "ColorSchemeControl", - "label": "Color Scheme", - "default": "bnbColors", - "renderTrigger": true, - "description": "The color scheme for rendering chart" - }, - "label_colors": { - "type": "ColorMapControl", - "label": "Color Map", - "default": {} - }, - "significance_level": { - "type": "TextControl", - "label": "Significance Level", - "default": 0.05, - "description": "Threshold alpha level for determining significance" - }, - "pvalue_precision": { - "type": "TextControl", - "label": "p-value precision", - "default": 6, - "description": "Number of decimal places with which to display p-values" - }, - "liftvalue_precision": { - "type": "TextControl", - "label": "Lift percent precision", - "default": 4, - "description": "Number of decimal places with which to display lift values" - }, - "column_collection": { - "type": "CollectionControl", - "label": "Time Series Columns", - "validators": [ - null - ], - "controlName": "TimeSeriesColumnControl" - }, - "rose_area_proportion": { - "type": "CheckboxControl", - "label": "Use Area Proportions", - "description": "Check if the Rose Chart should use segment area instead of segment radius for proportioning", - "default": false, - "renderTrigger": true - }, - "time_series_option": { - "type": "SelectControl", - "label": "Options", - "validators": [ - null - ], - "default": "not_time", - "valueKey": "value", - "options": [ - { - "label": "Not Time Series", - "value": "not_time", - "description": "Ignore time" - }, - { - "label": "Time Series", - "value": "time_series", - "description": "Standard time series" - }, - { - "label": "Aggregate Mean", - "value": "agg_mean", - "description": "Mean of values over specified period" - }, - { - "label": "Aggregate Sum", - "value": "agg_sum", - "description": "Sum of values over specified period" - }, - { - "label": "Difference", - "value": "point_diff", - "description": "Metric change in value from `since` to `until`" - }, - { - "label": "Percent Change", - "value": "point_percent", - "description": "Metric percent change in value from `since` to `until`" - }, - { - "label": "Factor", - "value": "point_factor", - "description": "Metric factor change from `since` to `until`" - }, - { - "label": "Advanced Analytics", - "value": "adv_anal", - "description": "Use the Advanced Analytics options below" - } - ], - "description": "Settings for time series" - }, - "equal_date_size": { - "type": "CheckboxControl", - "label": "Equal Date Sizes", - "default": true, - "renderTrigger": true, - "description": "Check to force date partitions to have the same height" - }, - "partition_limit": { - "type": "TextControl", - "label": "Partition Limit", - "isInt": true, - "default": "5", - "description": "The maximum number of subdivisions of each group; lower values are pruned first" - }, - "min_radius": { - "type": "TextControl", - "label": "Minimum Radius", - "isFloat": true, - "validators": [ - null - ], - "renderTrigger": true, - "default": 2, - "description": "Minimum radius size of the circle, in pixels. As the zoom level changes, this insures that the circle respects this minimum radius." - }, - "max_radius": { - "type": "TextControl", - "label": "Maximum Radius", - "isFloat": true, - "validators": [ - null - ], - "renderTrigger": true, - "default": 250, - "description": "Maxium radius size of the circle, in pixels. As the zoom level changes, this insures that the circle respects this maximum radius." - }, - "partition_threshold": { - "type": "TextControl", - "label": "Partition Threshold", - "isFloat": true, - "default": "0.05", - "description": "Partitions whose height to parent height proportions are below this value are pruned" - }, - "line_column": { - "type": "SelectControl", - "label": "Lines column", - "default": null, - "description": "The database columns that contains lines information", - "validators": [ - null - ] - }, - "line_type": { - "type": "SelectControl", - "label": "Lines encoding", - "clearable": false, - "default": "json", - "description": "The encoding format of the lines", - "choices": [ - [ - "polyline", - "Polyline" - ], - [ - "json", - "JSON" - ], - [ - "geohash", - "geohash (square)" - ] - ] - }, - "line_width": { - "type": "TextControl", - "label": "Line width", - "renderTrigger": true, - "isInt": true, - "default": 10, - "description": "The width of the lines" - }, - "line_charts": { - "type": "SelectAsyncControl", - "multi": true, - "label": "Line charts", - "validators": [ - null - ], - "default": [], - "description": "Pick a set of line charts to layer on top of one another", - "dataEndpoint": "/sliceasync/api/read?_flt_0_viz_type=line&_flt_7_viz_type=line_multi", - "placeholder": "Select charts", - "onAsyncErrorMessage": "Error while fetching charts" - }, - "line_charts_2": { - "type": "SelectAsyncControl", - "multi": true, - "label": "Right Axis chart(s)", - "validators": [], - "default": [], - "description": "Choose one or more charts for right axis", - "dataEndpoint": "/sliceasync/api/read?_flt_0_viz_type=line&_flt_7_viz_type=line_multi", - "placeholder": "Select charts", - "onAsyncErrorMessage": "Error while fetching charts" - }, - "prefix_metric_with_slice_name": { - "type": "CheckboxControl", - "label": "Prefix metric name with slice name", - "default": false, - "renderTrigger": true - }, - "reverse_long_lat": { - "type": "CheckboxControl", - "label": "Reverse Lat & Long", - "default": false - }, - "deck_slices": { - "type": "SelectAsyncControl", - "multi": true, - "label": "deck.gl charts", - "validators": [ - null - ], - "default": [], - "description": "Pick a set of deck.gl charts to layer on top of one another", - "dataEndpoint": "/sliceasync/api/read?_flt_0_viz_type=deck_&_flt_7_viz_type=deck_multi", - "placeholder": "Select charts", - "onAsyncErrorMessage": "Error while fetching charts" - }, - "js_data_mutator": { - "type": "TextAreaControl", - "language": "javascript", - "label": "Javascript data interceptor", - "description": "Define a javascript function that receives the data array used in the visualization and is expected to return a modified version of that array. This can be used to alter properties of the data, filter, or enrich the array.", - "height": 100, - "default": "", - "aboveEditorSection": { - "type": "div", - "key": null, - "ref": null, - "props": { - "children": [ - { - "type": "p", - "key": null, - "ref": null, - "props": { - "children": "Define a javascript function that receives the data array used in the visualization and is expected to return a modified version of that array. This can be used to alter properties of the data, filter, or enrich the array." - }, - "_owner": null, - "_store": {} - }, - { - "type": "p", - "key": null, - "ref": null, - "props": { - "children": { - "type": "div", - "key": null, - "ref": null, - "props": { - "children": [ - "For more information about objects are in context in the scope of this function, refer to the", - { - "type": "a", - "key": null, - "ref": null, - "props": { - "href": "https://github.com/apache/incubator-superset/blob/master/superset/assets/src/modules/sandbox.js", - "children": [ - " source code of Superset's sandboxed parser", - "." - ] - }, - "_owner": null, - "_store": {} - }, - "." - ] - }, - "_owner": null, - "_store": {} - } - }, - "_owner": null, - "_store": {} - }, - null - ] - }, - "_owner": null, - "_store": {} - } - }, - "js_data": { - "type": "TextAreaControl", - "language": "javascript", - "label": "Javascript data mutator", - "description": "Define a function that receives intercepts the data objects and can mutate it", - "height": 100, - "default": "", - "aboveEditorSection": { - "type": "div", - "key": null, - "ref": null, - "props": { - "children": [ - { - "type": "p", - "key": null, - "ref": null, - "props": { - "children": "Define a function that receives intercepts the data objects and can mutate it" - }, - "_owner": null, - "_store": {} - }, - { - "type": "p", - "key": null, - "ref": null, - "props": { - "children": { - "type": "div", - "key": null, - "ref": null, - "props": { - "children": [ - "For more information about objects are in context in the scope of this function, refer to the", - { - "type": "a", - "key": null, - "ref": null, - "props": { - "href": "https://github.com/apache/incubator-superset/blob/master/superset/assets/src/modules/sandbox.js", - "children": [ - " source code of Superset's sandboxed parser", - "." - ] - }, - "_owner": null, - "_store": {} - }, - "." - ] - }, - "_owner": null, - "_store": {} - } - }, - "_owner": null, - "_store": {} - }, - null - ] - }, - "_owner": null, - "_store": {} - } - }, - "js_tooltip": { - "type": "TextAreaControl", - "language": "javascript", - "label": "Javascript tooltip generator", - "description": "Define a function that receives the input and outputs the content for a tooltip", - "height": 100, - "default": "", - "aboveEditorSection": { - "type": "div", - "key": null, - "ref": null, - "props": { - "children": [ - { - "type": "p", - "key": null, - "ref": null, - "props": { - "children": "Define a function that receives the input and outputs the content for a tooltip" - }, - "_owner": null, - "_store": {} - }, - { - "type": "p", - "key": null, - "ref": null, - "props": { - "children": { - "type": "div", - "key": null, - "ref": null, - "props": { - "children": [ - "For more information about objects are in context in the scope of this function, refer to the", - { - "type": "a", - "key": null, - "ref": null, - "props": { - "href": "https://github.com/apache/incubator-superset/blob/master/superset/assets/src/modules/sandbox.js", - "children": [ - " source code of Superset's sandboxed parser", - "." - ] - }, - "_owner": null, - "_store": {} - }, - "." - ] - }, - "_owner": null, - "_store": {} - } - }, - "_owner": null, - "_store": {} - }, - null - ] - }, - "_owner": null, - "_store": {} - } - }, - "js_onclick_href": { - "type": "TextAreaControl", - "language": "javascript", - "label": "Javascript onClick href", - "description": "Define a function that returns a URL to navigate to when user clicks", - "height": 100, - "default": "", - "aboveEditorSection": { - "type": "div", - "key": null, - "ref": null, - "props": { - "children": [ - { - "type": "p", - "key": null, - "ref": null, - "props": { - "children": "Define a function that returns a URL to navigate to when user clicks" - }, - "_owner": null, - "_store": {} - }, - { - "type": "p", - "key": null, - "ref": null, - "props": { - "children": { - "type": "div", - "key": null, - "ref": null, - "props": { - "children": [ - "For more information about objects are in context in the scope of this function, refer to the", - { - "type": "a", - "key": null, - "ref": null, - "props": { - "href": "https://github.com/apache/incubator-superset/blob/master/superset/assets/src/modules/sandbox.js", - "children": [ - " source code of Superset's sandboxed parser", - "." - ] - }, - "_owner": null, - "_store": {} - }, - "." - ] - }, - "_owner": null, - "_store": {} - } - }, - "_owner": null, - "_store": {} - }, - null - ] - }, - "_owner": null, - "_store": {} - } - }, - "js_columns": { - "type": "SelectControl", - "multi": true, - "label": "Extra data for JS", - "default": [], - "includeTime": false, - "description": "List of extra columns made available in Javascript functions", - "valueKey": "column_name" - }, - "stroked": { - "type": "CheckboxControl", - "label": "Stroked", - "renderTrigger": true, - "description": "Whether to display the stroke", - "default": false - }, - "filled": { - "type": "CheckboxControl", - "label": "Filled", - "renderTrigger": true, - "description": "Whether to fill the objects", - "default": true - }, - "normalized": { - "type": "CheckboxControl", - "label": "Normalized", - "renderTrigger": true, - "description": "Whether to normalize the histogram", - "default": false - } - } -} -