DataSrc:T241b: Difference between revisions

    From UNITApedia
    No edit summary
    No edit summary
    Line 44: Line 44:
    }}
    }}


    {{#vardefine: t241b |
    {{#vardefine: t241dateData |
    [
    [
       ["entry_date", "Status A", "Status B", "Status C"],
       [
       ["2024-01-01", 100, 150, 200],
        "entry_date",
       ["2024-02-01", 110, 140, 210],
        "Student bachelor",
       ["2024-03-01", 120, 130, 220],
        "Student master",
       ["2024-04-01", 130, 120, 230]
        "Student doctorate"
      ],
     
      [
        "2023-11-01",
        {{#ask:
          [[-Has subobject::{{FULLPAGENAME}}]]
          [[entry_date::2023-11-01]]
          [[status_of_mobility_participant::Student bachelor]]
          |?participants
          |format=plain
          |headers=hide
          |link=none
          |mainlabel=-
        }},
        {{#ask:
          [[-Has subobject::{{FULLPAGENAME}}]]
          [[entry_date::2023-11-01]]
          [[status_of_mobility_participant::Student master]]
          |?participants
          |format=plain
          |headers=hide
          |link=none
          |mainlabel=-
        }},
        {{#ask:
          [[-Has subobject::{{FULLPAGENAME}}]]
          [[entry_date::2023-11-01]]
          [[status_of_mobility_participant::Student doctorate]]
          |?participants
          |format=plain
          |headers=hide
          |link=none
          |mainlabel=-
        }}
      ],
     
      [
        "2023-12-01",
        {{#ask:
          [[-Has subobject::{{FULLPAGENAME}}]]
          [[entry_date::2023-12-01]]
          [[status_of_mobility_participant::Student bachelor]]
          |?participants
          |format=plain
          |headers=hide
          |link=none
          |mainlabel=-
        }},
        {{#ask:
          [[-Has subobject::{{FULLPAGENAME}}]]
          [[entry_date::2023-12-01]]
          [[status_of_mobility_participant::Student master]]
          |?participants
          |format=plain
          |headers=hide
          |link=none
          |mainlabel=-
        }},
        {{#ask:
          [[-Has subobject::{{FULLPAGENAME}}]]
          [[entry_date::2023-12-01]]
          [[status_of_mobility_participant::Student doctorate]]
          |?participants
          |format=plain
          |headers=hide
          |link=none
          |mainlabel=-
        }}
      ],
     
       [
        "2024-01-01",
        {{#ask:
          [[-Has subobject::{{FULLPAGENAME}}]]
          [[entry_date::2024-01-01]]
          [[status_of_mobility_participant::Student bachelor]]
          |?participants
          |format=plain
          |headers=hide
          |link=none
          |mainlabel=-
        }},
        {{#ask:
          [[-Has subobject::{{FULLPAGENAME}}]]
          [[entry_date::2024-01-01]]
          [[status_of_mobility_participant::Student master]]
          |?participants
          |format=plain
          |headers=hide
          |link=none
          |mainlabel=-
        }},
        {{#ask:
          [[-Has subobject::{{FULLPAGENAME}}]]
          [[entry_date::2024-01-01]]
          [[status_of_mobility_participant::Student doctorate]]
          |?participants
          |format=plain
          |headers=hide
          |link=none
          |mainlabel=-
        }}
      ],
     
       [
        "2024-02-01",
        {{#ask:
          [[-Has subobject::{{FULLPAGENAME}}]]
          [[entry_date::2024-02-01]]
          [[status_of_mobility_participant::Student bachelor]]
          |?participants
          |format=plain
          |headers=hide
          |link=none
          |mainlabel=-
        }},
        {{#ask:
          [[-Has subobject::{{FULLPAGENAME}}]]
          [[entry_date::2024-02-01]]
          [[status_of_mobility_participant::Student master]]
          |?participants
          |format=plain
          |headers=hide
          |link=none
          |mainlabel=-
        }},
        {{#ask:
          [[-Has subobject::{{FULLPAGENAME}}]]
          [[entry_date::2024-02-01]]
          [[status_of_mobility_participant::Student doctorate]]
          |?participants
          |format=plain
          |headers=hide
          |link=none
          |mainlabel=-
        }}
      ],
     
       [
        "2024-03-01",
        {{#ask:
          [[-Has subobject::{{FULLPAGENAME}}]]
          [[entry_date::2024-03-01]]
          [[status_of_mobility_participant::Student bachelor]]
          |?participants
          |format=plain
          |headers=hide
          |link=none
          |mainlabel=-
        }},
        {{#ask:
          [[-Has subobject::{{FULLPAGENAME}}]]
          [[entry_date::2024-03-01]]
          [[status_of_mobility_participant::Student master]]
          |?participants
          |format=plain
          |headers=hide
          |link=none
          |mainlabel=-
        }},
        {{#ask:
          [[-Has subobject::{{FULLPAGENAME}}]]
          [[entry_date::2024-03-01]]
          [[status_of_mobility_participant::Student doctorate]]
          |?participants
          |format=plain
          |headers=hide
          |link=none
          |mainlabel=-
        }}
      ],
     
       [
        "2024-04-01",
        {{#ask:
          [[-Has subobject::{{FULLPAGENAME}}]]
          [[entry_date::2024-04-01]]
          [[status_of_mobility_participant::Student bachelor]]
          |?participants
          |format=plain
          |headers=hide
          |link=none
          |mainlabel=-
        }},
        {{#ask:
          [[-Has subobject::{{FULLPAGENAME}}]]
          [[entry_date::2024-04-01]]
          [[status_of_mobility_participant::Student master]]
          |?participants
          |format=plain
          |headers=hide
          |link=none
          |mainlabel=-
        }},
        {{#ask:
          [[-Has subobject::{{FULLPAGENAME}}]]
          [[entry_date::2024-04-01]]
          [[status_of_mobility_participant::Student doctorate]]
          |?participants
          |format=plain
          |headers=hide
          |link=none
          |mainlabel=-
        }}
      ],
     
      [
        "2024-05-01",
        {{#ask:
          [[-Has subobject::{{FULLPAGENAME}}]]
          [[entry_date::2024-05-01]]
          [[status_of_mobility_participant::Student bachelor]]
          |?participants
          |format=plain
          |headers=hide
          |link=none
          |mainlabel=-
        }},
        {{#ask:
          [[-Has subobject::{{FULLPAGENAME}}]]
          [[entry_date::2024-05-01]]
          [[status_of_mobility_participant::Student master]]
          |?participants
          |format=plain
          |headers=hide
          |link=none
          |mainlabel=-
        }},
        {{#ask:
          [[-Has subobject::{{FULLPAGENAME}}]]
          [[entry_date::2024-05-01]]
          [[status_of_mobility_participant::Student doctorate]]
          |?participants
          |format=plain
          |headers=hide
          |link=none
          |mainlabel=-
        }}
      ],
     
      [
        "2024-06-01",
        {{#ask:
          [[-Has subobject::{{FULLPAGENAME}}]]
          [[entry_date::2024-06-01]]
          [[status_of_mobility_participant::Student bachelor]]
          |?participants
          |format=plain
          |headers=hide
          |link=none
          |mainlabel=-
        }},
        {{#ask:
          [[-Has subobject::{{FULLPAGENAME}}]]
          [[entry_date::2024-06-01]]
          [[status_of_mobility_participant::Student master]]
          |?participants
          |format=plain
          |headers=hide
          |link=none
          |mainlabel=-
        }},
        {{#ask:
          [[-Has subobject::{{FULLPAGENAME}}]]
          [[entry_date::2024-06-01]]
          [[status_of_mobility_participant::Student doctorate]]
          |?participants
          |format=plain
          |headers=hide
          |link=none
          |mainlabel=-
        }}
      ],
     
      [
        "2024-07-01",
        {{#ask:
          [[-Has subobject::{{FULLPAGENAME}}]]
          [[entry_date::2024-07-01]]
          [[status_of_mobility_participant::Student bachelor]]
          |?participants
          |format=plain
          |headers=hide
          |link=none
          |mainlabel=-
        }},
        {{#ask:
          [[-Has subobject::{{FULLPAGENAME}}]]
          [[entry_date::2024-07-01]]
          [[status_of_mobility_participant::Student master]]
          |?participants
          |format=plain
          |headers=hide
          |link=none
          |mainlabel=-
        }},
        {{#ask:
          [[-Has subobject::{{FULLPAGENAME}}]]
          [[entry_date::2024-07-01]]
          [[status_of_mobility_participant::Student doctorate]]
          |?participants
          |format=plain
          |headers=hide
          |link=none
          |mainlabel=-
        }}
      ],
     
      [
        "2024-08-01",
        {{#ask:
          [[-Has subobject::{{FULLPAGENAME}}]]
          [[entry_date::2024-08-01]]
          [[status_of_mobility_participant::Student bachelor]]
          |?participants
          |format=plain
          |headers=hide
          |link=none
          |mainlabel=-
        }},
        {{#ask:
          [[-Has subobject::{{FULLPAGENAME}}]]
          [[entry_date::2024-08-01]]
          [[status_of_mobility_participant::Student master]]
          |?participants
          |format=plain
          |headers=hide
          |link=none
          |mainlabel=-
        }},
        {{#ask:
          [[-Has subobject::{{FULLPAGENAME}}]]
          [[entry_date::2024-08-01]]
          [[status_of_mobility_participant::Student doctorate]]
          |?participants
          |format=plain
          |headers=hide
          |link=none
          |mainlabel=-
        }}
      ],
     
      [
        "2024-09-01",
        {{#ask:
          [[-Has subobject::{{FULLPAGENAME}}]]
          [[entry_date::2024-09-01]]
          [[status_of_mobility_participant::Student bachelor]]
          |?participants
          |format=plain
          |headers=hide
          |link=none
          |mainlabel=-
        }},
        {{#ask:
          [[-Has subobject::{{FULLPAGENAME}}]]
          [[entry_date::2024-09-01]]
          [[status_of_mobility_participant::Student master]]
          |?participants
          |format=plain
          |headers=hide
          |link=none
          |mainlabel=-
        }},
        {{#ask:
          [[-Has subobject::{{FULLPAGENAME}}]]
          [[entry_date::2024-09-01]]
          [[status_of_mobility_participant::Student doctorate]]
          |?participants
          |format=plain
          |headers=hide
          |link=none
          |mainlabel=-
        }}
      ],
     
      [
        "2024-10-01",
        {{#ask:
          [[-Has subobject::{{FULLPAGENAME}}]]
          [[entry_date::2024-10-01]]
          [[status_of_mobility_participant::Student bachelor]]
          |?participants
          |format=plain
          |headers=hide
          |link=none
          |mainlabel=-
        }},
        {{#ask:
          [[-Has subobject::{{FULLPAGENAME}}]]
          [[entry_date::2024-10-01]]
          [[status_of_mobility_participant::Student master]]
          |?participants
          |format=plain
          |headers=hide
          |link=none
          |mainlabel=-
        }},
        {{#ask:
          [[-Has subobject::{{FULLPAGENAME}}]]
          [[entry_date::2024-10-01]]
          [[status_of_mobility_participant::Student doctorate]]
          |?participants
          |format=plain
          |headers=hide
          |link=none
          |mainlabel=-
        }}
      ],
     
      [
        "2024-11-01",
        {{#ask:
          [[-Has subobject::{{FULLPAGENAME}}]]
          [[entry_date::2024-11-01]]
          [[status_of_mobility_participant::Student bachelor]]
          |?participants
          |format=plain
          |headers=hide
          |link=none
          |mainlabel=-
        }},
        {{#ask:
          [[-Has subobject::{{FULLPAGENAME}}]]
          [[entry_date::2024-11-01]]
          [[status_of_mobility_participant::Student master]]
          |?participants
          |format=plain
          |headers=hide
          |link=none
          |mainlabel=-
        }},
        {{#ask:
          [[-Has subobject::{{FULLPAGENAME}}]]
          [[entry_date::2024-11-01]]
          [[status_of_mobility_participant::Student doctorate]]
          |?participants
          |format=plain
          |headers=hide
          |link=none
          |mainlabel=-
        }}
      ]
    ]
    ]
    }}
    }}
    {{#echarts:
    {{#echarts:
    width=1000px |
    width=1000px |
    height=750px |
    height=600px |
    option = {
    option = {
       title: {
       title: { text: 'BIP Mobilities by Month' },
        text: 'Stacked Area Chart'
      },
       tooltip: {
       tooltip: {
         trigger: 'axis',
         trigger: 'axis',
         axisPointer: {
         axisPointer: { type: 'cross', label: { backgroundColor: '#6a7985' } }
          type: 'cross',
          label: { backgroundColor: '#6a7985' }
        }
      },
      legend: {
        data: ["Status A", "Status B", "Status C"]
      },
      toolbox: {
        feature: { saveAsImage: {} }
      },
      grid: {
        left: '3%',
        right: '4%',
        bottom: '3%',
        containLabel: true
       },
       },
       dataset: {
       dataset: {
         source: {{#var:t241b}}
         source: {{#var:t241dateData}}
      },
      xAxis: {
        type: 'category',
        axisLabel: {
          rotate: 0,
          interval: 0
        }
      },
      yAxis: {
        type: 'value'
       },
       },
      xAxis: { type: 'category' },
      yAxis: { type: 'value' },
       series: [
       series: [
         {
         { type: 'line', stack: 'total', areaStyle: {} },
          type: 'line',
         { type: 'line', stack: 'total', areaStyle: {} },
          stack: 'total',
         { type: 'line', stack: 'total', areaStyle: {} }
          areaStyle: {},
          emphasis: { focus: 'series' }
        },
         {
          type: 'line',
          stack: 'total',
          areaStyle: {},
          emphasis: { focus: 'series' }
        },
         {
          type: 'line',
          stack: 'total',
          areaStyle: {},
          emphasis: { focus: 'series' }
        }
       ]
       ]
    }
    }
    }}
    }}

    Revision as of 14:58, 28 March 2025