Geen omschrijving

Igor 60407be9bd Finished 2 jaren geleden
css 3b65276814 Initial commit 3 jaren geleden
dist 3b65276814 Initial commit 3 jaren geleden
ivprog 39c56f7644 Finsished log analysis 2 jaren geleden
ivprog_contexto 60407be9bd Finished 2 jaren geleden
ivprog_menu 54b57b2741 Implementar visualização de todos os alunos 5 jaren geleden
js 3b65276814 Initial commit 3 jaren geleden
src 3b65276814 Initial commit 3 jaren geleden
.gitignore 3b65276814 Initial commit 3 jaren geleden
README.md 3b65276814 Initial commit 3 jaren geleden
_index.html ccf77fbc92 Updating file format (in progress) 2 jaren geleden
alunos.php 3b65276814 Initial commit 3 jaren geleden
curso.php 60407be9bd Finished 2 jaren geleden
functions.php 60407be9bd Finished 2 jaren geleden
index.php 3b65276814 Initial commit 3 jaren geleden
package-lock.json 3b65276814 Initial commit 3 jaren geleden
package.json 3b65276814 Initial commit 3 jaren geleden
process.php 3b65276814 Initial commit 3 jaren geleden
relatorio_aluno_exercicio.php 60407be9bd Finished 2 jaren geleden
relatorio_exercicio.php 60407be9bd Finished 2 jaren geleden
webpack.config.js 3b65276814 Initial commit 3 jaren geleden

README.md

Instalação

Inclua os arquivos dist/style.css e line_heatmap.js no seu arquivo HTML

Uso

Inclua o seguinte código na página ou em algum outros script. Note que div_id não possui '#' e que a função init recebe como parametro uma string onde cada linha é uma entrada do log.

  <script>
    line_heatmap.Container.init(div_id, log_string_itracker);
  </script>

Você também deve incluir a seguinte regra css

    #line-heatmap-canvas { width:60%; height:60%;}

Modificações

Para alterar o código é necessário ter a última versão no npm. Apenas execute npm install para instalar todas as dependências.

Previsualização

  npm install
  npm run build
  npm run start

Acesse o servidor de testes em 127.0.0.1:8080