Project

General

Profile

ui_component #2870

Updated by UserName LastName over 1 year ago

business_list: 
 - summary 
 class_list: order-2 
 component: h-vega-v1 
 component_list: 
 - card-bug 
 display_name: '' 
 filter: data.data.bug 
 img: '' 
 link: '' 
 meta: 
   transform: 
   - aggregate: 
       - op: count 
         as: count 
     groupby: 
       - bug_level 
   - window: 
       - op: sum 
         field: count 
         as: total 
     frame: 
       - null 
       - null 
   - calculate: 'format(datum.count / datum.total * 100, ''.2f'') + ''%''' 
     as: percentage 
   
 mark: arc 
 encoding: 
   encoding: theta: 
     theta: 
       field: count 
       
     type: quantitative 
       
     stack: true 
   color: 
     color: 
       field: bug_level 
       
     type: nominal 
       
     title: 缺陷等级 
     scale: 
       scale: range: 
         range: 
           - '#5DC9BC' 
           
         - '#EE8232' 
           
         - '#F7CE46' 
           
         - '#2F52EB' 
           
         - '#CC9DF0' 
   tooltip: 
     tooltip: 
       - field: bug_level 
         
       type: nominal 
         
       title: 缺陷等级 
       
     - field: percentage 
         
       type: nominal 
         
       title: 百分比 
 view: 
   view: 
     stroke: null 
   
 title: 缺陷等级分布统计 
 method_list: 
 - index 
 name: bug_distribution 
 project_list: [] 
 role_list: [] 
 scope_list: [] 
 status_list: [] 
 tracker_list: [] 
 type: form 
 url: ''

Back