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

    From UNITApedia
    No edit summary
    No edit summary
     
    Line 11: Line 11:
      {{{jsontext}}}
      {{{jsontext}}}
    }}}}
    }}}}


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

    Latest revision as of 10:02, 7 November 2025