rusackas commented on code in PR #42328:
URL: https://github.com/apache/superset/pull/42328#discussion_r3733776726


##########
superset/examples/misc_charts/charts/Sales_Calendar_Heatmap.yaml:
##########
@@ -0,0 +1,47 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+cache_timeout: null
+certification_details: null
+certified_by: null
+dataset_uuid: e8623bb9-5e00-f531-506a-19607f5f8005
+description: Daily sales intensity across a year, one cell per day.
+params:
+  cell_padding: 2
+  cell_radius: 0
+  cell_size: 12
+  domain_granularity: month
+  granularity_sqla: order_date
+  metrics:
+  - aggregate: SUM
+    column:
+      column_name: sales
+    expressionType: SIMPLE
+    label: SUM(sales)
+    optionName: metric_sales_calendar
+  show_legend: true
+  show_metric_name: true
+  show_values: false
+  steps: 10
+  subdomain_granularity: day
+  time_range: '2004-01-01 : 2005-01-01'
+  viz_type: cal_heatmap
+  x_axis_time_format: smart_date
+query_context: null
+slice_name: Sales Calendar Heatmap
+uuid: ef13dcad-c918-4367-ab17-a31d56e770e0
+version: 1.0.0
+viz_type: cal_heatmap

Review Comment:
   Every chart YAML in this repo (all 40+ files, including pre-existing ones 
like `Deck.gl_Hexagons.yaml`) has `viz_type` both inside `params` and as a 
top-level key — thats the standard chart export schema, not a duplication bug. 
Leaving as-is.



##########
superset/examples/deckgl_demo/charts/Deck.gl_Hexagons.yaml:
##########
@@ -48,8 +49,8 @@ params:
     bearing: -2.3984797349335167
     latitude: 37.789795085160335
     longitude: -122.40632230075536
-    pitch: 54.08961642447763
-    zoom: 13.835465702403654
+    pitch: 50
+    zoom: 13.6

Review Comment:
   These are demo-dashboard example charts, not tied to the Hex storybook story 
— no expectation they share defaults. Rounded pitch/zoom here are just cleaner 
numbers for the example view. Leaving as-is.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to