DataSrc:UNITA Data/Indicators/t421unito test: Difference between revisions

    From UNITApedia
    No edit summary
    No edit summary
     
    Line 1: Line 1:
    {{#get_db_data:
    ### Raw Variable Dump
    db=DW_UNITAData_Indicators_T421unito_test
    {{#get_db_data:  
    |jsontext=jsontext
    db=DW_UNITAData_Mobility
    |data=jsontext=jsontext
    }}
    }}


    {{#store_external_table: DW_UNITAData_T421unito_test
    <pre>
    {{#store_external_table: Debug_Dump
    |jsontext={{{jsontext}}}
    |jsontext={{{jsontext}}}
    }}
    }}
     
    {{#vardefine: my_debug_var | {{#for_external_table: {{{jsontext}}} }} }}
    {{#vardefine:jsondata|{{#for_external_table:
    {{#var: my_debug_var}}
    {{{jsontext}}}
    </pre>
    }}}}
     
    {{#echarts:
    width=1000px |
    height=600px |
    option = {
      legend: { top: '5%' },
      tooltip: { trigger: 'axis', axisPointer: { type: 'shadow' } },
      dataset: {
        source: {{#var:jsondata}}
      },
      xAxis: { type: 'category', name: 'Type of Mobility', axisLabel: { rotate: 20, interval: 0 } },
      yAxis: { type: 'value', name: 'Participants' },
      grid: { top: '15%', left: '3%', right: '4%', bottom: '20%', containLabel: true },
     
      series: [
        { name: 'Student bachelor', type: 'bar', encode: { x: 'Type_of_mobility', y: 'Participants' }, filter: { Status_of_mobility_participant: 'Student bachelor' } },
        { name: 'Student master', type: 'bar', encode: { x: 'Type_of_mobility', y: 'Participants' }, filter: { Status_of_mobility_participant: 'Student master' } },
        { name: 'Student doctorate', type: 'bar', encode: { x: 'Type_of_mobility', y: 'Participants' }, filter: { Status_of_mobility_participant: 'Student doctorate' } },
        { name: 'Student Assembly member', type: 'bar', encode: { x: 'Type_of_mobility', y: 'Participants' }, filter: { Status_of_mobility_participant: 'Student Assembly member' } }
      ],
      color: ['#5470C6', '#91CC75', '#FAC858', '#EE6666']
    }
    }}

    Latest revision as of 14:04, 11 June 2026

        1. Raw Variable Dump


    {{#store_external_table: Debug_Dump
    |jsontext={{{jsontext}}}
    }}
    {{#vardefine: my_debug_var | {{#for_external_table: {{{jsontext}}} }} }}
    {{#var: my_debug_var}}