<commit_before>/*!
 * Copyright (c) 2016 <NAME> & <NAME>
 * Licensed under AGPLv3 (https://github.com/Inboxen/Inboxen/blob/master/LICENSE)
 */

(function($, Chart) {
    'use strict';

    var statsUrl, $userCanvas, $inboxCanvas, $emailCanvas;
    var colour1, colour2, fill1, fill2;
    var chartOpts;

    colour1 = "rgb(217, 83, 79)";
    colour2 = "rgb(51, 122, 183)";
    fill1 = "rgba(217, 83, 79, 0.75)";
    fill2 = "rgba(51, 122, 183, 0.75)";

    statsUrl = $("#stats-chart").data("url");
    $userCanvas = $("<canvas></canvas>");
    $inboxCanvas = $("<canvas></canvas>");
    $emailCanvas = $("<canvas></canvas>");

    chartOpts = {
        responsive: true,
        maintainAspectRatio: false,
        scales: {
            yAxes: [{
                ticks: {
                    beginAtZero: true
                }
            }]
        },
        elements: {
            line: {
                tension: 0
            }
        },<commit_msg>Hide gridlines on x-axis<commit_after>/*!
 * Copyright (c) 2016 <NAME> & <NAME>
 * Licensed under AGPLv3 (https://github.com/Inboxen/Inboxen/blob/master/LICENSE)
 */

(function($, Chart) {
    'use strict';

    var statsUrl, $userCanvas, $inboxCanvas, $emailCanvas;
    var colour1, colour2, fill1, fill2;
    var chartOpts;

    colour1 = "rgb(217, 83, 79)";
    colour2 = "rgb(51, 122, 183)";
    fill1 = "rgba(217, 83, 79, 0.75)";
    fill2 = "rgba(51, 122, 183, 0.75)";

    statsUrl = $("#stats-chart").data("url");
    $userCanvas = $("<canvas></canvas>");
    $inboxCanvas = $("<canvas></canvas>");
    $emailCanvas = $("<canvas></canvas>");

    chartOpts = {
        responsive: true,
        maintainAspectRatio: false,
        scales: {
            yAxes: [{
                ticks: {
                    beginAtZero: true
                }
            }],
            xAxes: [{
                gridLines: false
            }]
        },
        elements: {
            line: {
                tension: 0
            }
        },
{'fraction_non_alphanumeric': 0.16916916916916916, 'fraction_numerical': 0.05005005005005005, 'mean_word_length': 1.8075842696629214, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 19, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3365024', 'n_tokens_mistral': 736, 'n_tokens_neox': 649, 'n_words': 138}