ui_component #989
Updated by UserName LastName over 1 year ago
business_list: - summary class_list: order-2 component: h-vega-v1 component_list: - card-chart h-card-v1 display_name: '' filter: data.data.testcase img: '' link: '' meta: transform: - aggregate: - op: count as: count encoding: groupby: color: - field: case_priority - window: - op: sum field: count as: total frame: title: 优先级 - null type: nominal - null - calculate: 'format(datum.count / datum.total * 100, ''.2f'') + ''%''' scale: {"range": ["#5DC9BC", "#EE8232", "#F7CE46","#2F52EB","#CC9DF0"]} as: percentage mark: arc encoding: theta: field: count total type: quantitative stack: true color: tooltip: - field: case_priority type: nominal title: 优先级 scale: range: - '#5DC9BC' - '#EE8232' - '#F7CE46' - '#2F52EB' - '#CC9DF0' tooltip: type: nominal - field: case_priority total title: 总数 type: nominal quantitative mark: arc title: 优先级 测试用例优先级分布情况 transform: - aggregate: - as: total field: percentage '*' type: nominal title: 百分比 op: count groupby: - case_priority view: stroke: null title: 测试用例优先级分布统计 method_list: - index name: bug_distribution testcase_distribution project_list: [] role_list: [] scope_list: [] status_list: [] tracker_list: [] type: form url: ''