This is an automated email from the ASF dual-hosted git repository.

michaelsmolina pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git


The following commit(s) were added to refs/heads/master by this push:
     new 386aa93e24 fix: Histogram examples config (#32122)
386aa93e24 is described below

commit 386aa93e243ed1b7386df4fe3ab8a7702e85e8f8
Author: Michael S. Molina <[email protected]>
AuthorDate: Mon Feb 3 13:53:34 2025 -0300

    fix: Histogram examples config (#32122)
---
 .../Age_distribution_of_respondents.yaml           | 13 ++----
 .../How_much_do_you_expect_to_earn_0_-_100k.yaml   | 48 +---------------------
 .../Last_Year_Income_Distribution.yaml             |  7 +---
 3 files changed, 7 insertions(+), 61 deletions(-)

diff --git a/superset/examples/configs/charts/FCC New Coder 
Survey/Age_distribution_of_respondents.yaml 
b/superset/examples/configs/charts/FCC New Coder 
Survey/Age_distribution_of_respondents.yaml
index e4da5c3d69..2e31dde304 100644
--- a/superset/examples/configs/charts/FCC New Coder 
Survey/Age_distribution_of_respondents.yaml        
+++ b/superset/examples/configs/charts/FCC New Coder 
Survey/Age_distribution_of_respondents.yaml        
@@ -18,23 +18,18 @@ slice_name: Age distribution of respondents
 viz_type: histogram_v2
 params:
   adhoc_filters: []
-  all_columns_x:
-    - age
+  column: age
   color_scheme: supersetColors
   datasource: 42__table
-  granularity_sqla: time_start
-  groupby: null
+  groupby: []
   label_colors: {}
   link_length: "25"
-  queryFields:
-    groupby: groupby
   row_limit: 10000
   slice_id: 1380
-  time_range: No filter
   url_params: {}
   viz_type: histogram_v2
-  x_axis_label: age
-  y_axis_label: count
+  x_axis_title: age
+  y_axis_title: count
 cache_timeout: null
 uuid: 5f1ea868-604e-f69d-a241-5daa83ff33be
 version: 1.0.0
diff --git a/superset/examples/configs/charts/FCC New Coder 
Survey/How_much_do_you_expect_to_earn_0_-_100k.yaml 
b/superset/examples/configs/charts/FCC New Coder 
Survey/How_much_do_you_expect_to_earn_0_-_100k.yaml
index 4211ca5b57..9ec09c8e23 100644
--- a/superset/examples/configs/charts/FCC New Coder 
Survey/How_much_do_you_expect_to_earn_0_-_100k.yaml        
+++ b/superset/examples/configs/charts/FCC New Coder 
Survey/How_much_do_you_expect_to_earn_0_-_100k.yaml        
@@ -36,57 +36,13 @@ params:
       operator: <=
       sqlExpression: null
       subject: expected_earn
-  all_columns_x:
-    - expected_earn
+  column: expected_earn
   color_scheme: supersetColors
   datasource: 42__table
-  granularity_sqla: time_start
-  groupby: null
-  label_colors:
-    "0": "#FCC700"
-    "1": "#A868B7"
-    "15": "#3CCCCB"
-    "30": "#A38F79"
-    "45": "#8FD3E4"
-    <NULL>: "#5AC189"
-    Female: "#454E7C"
-    From Home: "#1FA8C9"
-    I: "#FEC0A1"
-    In an Office (with Other Developers): "#9EE5E5"
-    Less: "#ACE1C4"
-    Male: "#666666"
-    More: "#A1A6BD"
-    "No": "#666666"
-    No Answer: "#D3B3DA"
-    No Preference: "#D1C6BC"
-    No,: "#FF7F44"
-    No, not an ethnic minority: "#1FA8C9"
-    "No: Not Willing to": "#FDE380"
-    Ph.D.: "#FCC700"
-    Prefer: "#5AC189"
-    Prefer not to say: "#E04355"
-    "Yes": "#FF7F44"
-    Yes,: "#1FA8C9"
-    Yes, an ethnic minority: "#454E7C"
-    "Yes: Willing To": "#EFA1AA"
-    age: "#1FA8C9"
-    associate's degree: "#A868B7"
-    bachelor's degree: "#3CCCCB"
-    expected_earn: "#B2B2B2"
-    high school diploma or equivalent (GED): "#A38F79"
-    last_yr_income: "#E04355"
-    master's degree (non-professional): "#8FD3E4"
-    no high school (secondary school): "#A1A6BD"
-    professional degree (MBA, MD, JD, etc.): "#ACE1C4"
-    some college credit, no degree: "#FEC0A1"
-    some high school: "#B2B2B2"
-    trade, technical, or vocational training: "#EFA1AA"
+  groupby: []
   link_length: "10"
-  queryFields:
-    groupby: groupby
   row_limit: null
   slice_id: 1366
-  time_range: No filter
   url_params: {}
   viz_type: histogram_v2
 cache_timeout: null
diff --git a/superset/examples/configs/charts/FCC New Coder 
Survey/Last_Year_Income_Distribution.yaml 
b/superset/examples/configs/charts/FCC New Coder 
Survey/Last_Year_Income_Distribution.yaml
index 413448f0a8..d17dbd38d2 100644
--- a/superset/examples/configs/charts/FCC New Coder 
Survey/Last_Year_Income_Distribution.yaml  
+++ b/superset/examples/configs/charts/FCC New Coder 
Survey/Last_Year_Income_Distribution.yaml  
@@ -36,18 +36,13 @@ params:
       operator: <=
       sqlExpression: null
       subject: last_yr_income
-  all_columns_x:
-    - last_yr_income
+  column: last_yr_income
   color_scheme: supersetColors
   datasource: 42__table
-  granularity_sqla: time_start
   groupby: []
   label_colors: {}
   link_length: "10"
-  queryFields:
-    groupby: groupby
   row_limit: null
-  time_range: No filter
   url_params: {}
   viz_type: histogram_v2
 cache_timeout: null

Reply via email to