Difference between revisions of "Team:Hong Kong UCCKE/Results"

Line 311: Line 311:
  
 
<h2 data-toc-text="Cinnemaldehyde Volatile Test">Raw Result of Cinnemaldehyde Volatile Test with Index</h2>
 
<h2 data-toc-text="Cinnemaldehyde Volatile Test">Raw Result of Cinnemaldehyde Volatile Test with Index</h2>
 +
 +
 +
 +
 +
<canvas id="RIocinn56434g344" width="400" height="280"></canvas>
 +
 +
<script>
 +
var ctx = document.getElementById("RIocinn56434g344");
 +
var myChart = new Chart(ctx, {
 +
    type: 'bar',
 +
    data: {
 +
        labels: ["1", "1/10", "1/100", "1/1000", "1/10000", "1/100000"],
 +
        datasets: [{
 +
            label: 'Index',
 +
            data: [-0.81, -0.80, -0.82, -0.50, -0.13, -0.10],
 +
            backgroundColor: [
 +
                'rgba(255, 99, 132, 0.2)',
 +
                'rgba(54, 162, 235, 0.2)',
 +
                'rgba(255, 206, 86, 0.2)',
 +
                'rgba(75, 192, 192, 0.2)',
 +
                'rgba(153, 102, 255, 0.2)',
 +
                'rgba(255, 159, 64, 0.2)'
 +
            ],
 +
            borderColor: [
 +
                'rgba(255,99,132,1)',
 +
                'rgba(54, 162, 235, 1)',
 +
                'rgba(255, 206, 86, 1)',
 +
                'rgba(75, 192, 192, 1)',
 +
                'rgba(153, 102, 255, 1)',
 +
                'rgba(255, 159, 64, 1)'
 +
            ],
 +
            borderWidth: 1
 +
        }]
 +
    },
 +
    options: {
 +
        scales: {
 +
            yAxes: [{
 +
                ticks: {
 +
                    beginAtZero:true
 +
                },
 +
                scaleLabel: {
 +
                    display: true,
 +
                    labelString: 'Responsive Index',
 +
                    fontSize: 15,
 +
                }
 +
            }],
 +
            xAxes: [{
 +
                scaleLabel: {
 +
                    display: true,
 +
                    labelString: 'Dilution of diacetyl',
 +
                    fontSize: 15,
 +
                }
 +
            }],
 +
        },
 +
 +
        title: {
 +
            display: true,
 +
            text: 'Responsive Index of Diacetyl',
 +
            fontSize: 15,
 +
        },
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
animation: {
 +
duration: 0,
 +
onComplete: function () {
 +
    // render the value of the chart above the bar
 +
    var ctx = this.chart.ctx;
 +
    ctx.font = Chart.helpers.fontString(Chart.defaults.global.defaultFontSize, 'normal', Chart.defaults.global.defaultFontFamily);
 +
    ctx.fillStyle = this.chart.config.options.defaultFontColor;
 +
    ctx.textAlign = 'center';
 +
    ctx.textBaseline = 'bottom';
 +
    this.data.datasets.forEach(function (dataset) {
 +
        for (var i = 0; i < dataset.data.length; i++) {
 +
            var model = dataset._meta[Object.keys(dataset._meta)[0]].data[i]._model;
 +
            ctx.fillText(dataset.data[i], model.x, model.y - 5);
 +
        }
 +
    });
 +
}}
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
    },
 +
 +
});
 +
</script>
 +
 +
 +
 +
  
  

Revision as of 11:20, 3 October 2016

Raw Result of Diacetyl Volatile Test with Index

Chemical Type Concentration # of worms in T # of worms in C Index
Diacetyl Volatile Test 1 10 0 1
Diacetyl Volatile Test 1 80 3 0.927710843
Diacetyl Volatile Test 1 96 2 0.959183673
Diacetyl Volatile Test 1/10 97 8 0.847619048
Diacetyl Volatile Test 1/10 78 9 0.793103448
Diacetyl Volatile Test 1/10 91 6 0.87628866
Diacetyl Volatile Test 1/100 7 4 0.272727273
Diacetyl Volatile Test 1/100 85 54 0.223021583
Diacetyl Volatile Test 1/100 60 32 0.304347826
Diacetyl Volatile Test 1/1000 18 14 0.125
Diacetyl Volatile Test 1/1000 67 45 0.196428571
Diacetyl Volatile Test 1/1000 51 35 0.186046512
Diacetyl Volatile Test 1/10000 13 13 0
Diacetyl Volatile Test 1/10000 27 22 0.102040816
Diacetyl Volatile Test 1/10000 27 24 0.058823529
Diacetyl Volatile Test 1/100000 18 16 0.058823529
Diacetyl Volatile Test 1/100000 32 29 0.049180328
Diacetyl Volatile Test 1/100000 35 31 0.060606061

Raw Result of Cinnemaldehyde Volatile Test with Index

Chemical Type Concentration # of worms in T # of worms in C Index
Cinnemoaldehyde Volatile Test 1 18 75 -0.612903226
Cinnemoaldehyde Volatile Test 1 0 24 -1
Cinnemoaldehyde Volatile Test 1 11 92 -0.786407767
Cinnemoaldehyde Volatile Test 1 9 95 -0.826923077
Cinnemoaldehyde Volatile Test 1/10 10 97 -0.813084112
Cinnemoaldehyde Volatile Test 1/10 3 32 -0.828571429
Cinnemoaldehyde Volatile Test 1/10 13 93 -0.754716981
Cinnemoaldehyde Volatile Test 1/10 11 98 -0.798165138
Cinnemoaldehyde Volatile Test 1/100 6 90 -0.875
Cinnemoaldehyde Volatile Test 1/100 2 38 -0.9
Cinnemoaldehyde Volatile Test 1/100 9 68 -0.766233766
Cinnemoaldehyde Volatile Test 1/100 14 96 -0.745454545
Cinnemoaldehyde Volatile Test 1/1000 27 82 -0.504587156
Cinnemoaldehyde Volatile Test 1/1000 9 28 -0.513513514
Cinnemoaldehyde Volatile Test 1/1000 14 40 -0.481481481
Cinnemoaldehyde Volatile Test 1/1000 17 50 -0.492537313
Cinnemoaldehyde Volatile Test 1/10000 40 35 0.066666667
Cinnemoaldehyde Volatile Test 1/10000 16 28 -0.272727273
Cinnemoaldehyde Volatile Test 1/10000 27 37 -0.15625
Cinnemoaldehyde Volatile Test 1/10000 29 39 -0.147058824
Cinnemoaldehyde Volatile Test 1/100000 34 44 -0.128205128
Cinnemoaldehyde Volatile Test 1/100000 25 37 -0.193548387
Cinnemoaldehyde Volatile Test 1/100000 28 33 -0.081967213
Cinnemoaldehyde Volatile Test 1/100000 32 33 -0.015384615