superset/examples/configs/charts/Featured Charts/Pie.yaml
# 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.
slice_name: Pie
description: null
certified_by: null
certification_details: null
viz_type: pie
params:
datasource: 22__table
viz_type: pie
groupby:
- product_line
metric:
expressionType: SIMPLE
column:
advanced_data_type: null
certification_details: null
certified_by: null
column_name: sales
description: null
expression: null
filterable: true
groupby: true
id: 734
is_certified: false
is_dttm: false
python_date_format: null
type: DOUBLE PRECISION
type_generic: 0
verbose_name: null
warning_markdown: null
aggregate: SUM
sqlExpression: null
datasourceWarning: false
hasCustomLabel: false
label: SUM(sales)
optionName: metric_m2fycvcvjie_4gnezrycwmb
adhoc_filters:
- clause: WHERE
subject: order_date
operator: TEMPORAL_RANGE
comparator: No filter
expressionType: SIMPLE
row_limit: 100
sort_by_metric: true
color_scheme: supersetColors
show_labels_threshold: 5
show_legend: true
legendType: scroll
legendOrientation: top
label_type: key
number_format: SMART_NUMBER
date_format: smart_date
show_labels: true
labels_outside: true
outerRadius: 70
innerRadius: 30
extra_form_data: {}
dashboards:
- 13
cache_timeout: null
uuid: 02ed54c5-dc22-468c-9edf-729b5401b182
version: 1.0.0
dataset_uuid: e8623bb9-5e00-f531-506a-19607f5f8005