Skip to content
Snippets Groups Projects
Select Git revision
  • f0807fc0b90c427c40d0eaf0d9fabdd643b79259
  • master default protected
  • develop
  • v18.0.0 protected
  • v16.0.1 protected
  • v16.0.0 protected
  • v15.0.0 protected
  • v14.3.0 protected
  • v14.2.0 protected
  • v14.1.0 protected
  • v14.0.1 protected
  • v14.0.0 protected
  • v13.0.2 protected
  • v13.0.1 protected
  • v13.0.0 protected
  • v12.1.2 protected
  • v12.1.1 protected
  • v12.1.0 protected
  • v12.0.9 protected
  • v12.0.8 protected
  • v12.0.7 protected
  • v12.0.6 protected
  • v12.0.5 protected
23 results

kypo-trainings-visualization-overview

  • Clone with SSH
  • Clone with HTTPS
  • Training run overview visualizations

    How to integrate

    • Install npm package into your Angular app
    • Add node_modules/@muni-kypo-crp/overview-visualization/styles.scss to your styles in angular.json

    How to use with other visualizations

    • If cross visualization communication is required, see project's wiki for instructions

    Input parameters of kypo2-viz-overview-clustering component

    useLocalMock: boolean to use local jsons of a visualization

    enableAllPlayers: boolean set true to show all the players of a selected training run, false will only show the learner specified by feedbackLearnerId

    feedbackLearnerId: string if set, it highlights the given learner dot in the clustering

    colorScheme: string[] to specify color scheme of individual bars by hexadecimal strings (e.g. '#20d5fa')

    size: {width: number; height: number} object that specifies the vis size in pixels

    trainingDefinitionId: number

    trainingInstanceId: number

    How to use as a library

    • there are 3 components that can be independent (it depends on their parameters)

    Overview Table

    <kypo2-viz-overview-table
        [useLocalMock]="true"         <--- if set to true, the visualization will use mocked data (available only when run localy!)
        [trainingDefinitionId]="1"
        [standalone]="true"           <--- this ensures that the table does not cooperate with the timeline visualization and can be run independently
        [trainingInstanceId]="1"
        [trainingRunId]="4"
        [feedbackLearnerId]="'player'"> <--- the id should be set *only* for the trainee view - the vis. will provide a limited information
    </kypo2-viz-overview-table>

    Clustering

    <kypo2-viz-overview-clustering
      [useLocalMock]="true"          <--- if set to true, the visualization will use mocked data (available only when run localy!)
      [feedbackLearnerId]="'player'" <--- the id should be set *only* for the trainee view - the vis. will provide a limited information
      [size]="{width: 800, height: 500}"
      [trainingInstanceId]="2"
      [trainingRunId]="4"
      [trainingDefinitionId]="3">
    </kypo2-viz-overview-clustering>

    Timeline

    <kypo2-viz-overview-timeline
      [useLocalMock]="true"          <--- if set to true, the visualization will use mocked data (available only when run localy!)
      [enableAllPlayers]="true"      <--- when set to false, it will hide the related filtering table and show only the line related to the feedbackLearnerId
      [feedbackLearnerId]="'player'" <--- the id should be set *only* for the trainee view - the vis. will provide a limited information
      [size]="{width: 1300, height: 700}"
      [trainingInstanceId]="2"
      [trainingRunId]="4"
      [trainingDefinitionId]="3">
    </kypo2-viz-overview-timeline>