<commit_before>﻿App.BucketView = Em.View.extend({
    graph: null,
    templateName: 'bucket',
    didInsertElement: function () {
        console.log("setting up graph");

        this.graph = new Rickshaw.Graph({
            element: document.querySelector("#data-points-graph"),
            width: 580,
            height: 250,
            renderer: 'area',
            series: new Rickshaw.Series.FixedDuration([{ name: 'one', color: 'lightblue' }], undefined, {
                timeInterval: 250,
                maxDataPoints: 200,
                timeBase: new Date().getTime() / 1000
            })
        });

        var xAxis = new Rickshaw.Graph.Axis.Time({
            graph: this.graph
        });

        xAxis.render();

        var yAxis = new Rickshaw.Graph.Axis.Y({
            graph: this.graph
        });
<commit_msg>show more data points.<commit_after>﻿App.BucketView = Em.View.extend({
    graph: null,
    templateName: 'bucket',
    didInsertElement: function () {
        console.log("setting up graph");

        this.graph = new Rickshaw.Graph({
            element: document.querySelector("#data-points-graph"),
            width: 580,
            height: 250,
            renderer: 'area',
            series: new Rickshaw.Series.FixedDuration([{ name: 'one', color: 'lightblue' }], undefined, {
                timeInterval: 250,
                maxDataPoints: 400,
                timeBase: new Date().getTime() / 1000
            })
        });

        var xAxis = new Rickshaw.Graph.Axis.Time({
            graph: this.graph
        });

        xAxis.render();

        var yAxis = new Rickshaw.Graph.Axis.Y({
            graph: this.graph
        });

{'fraction_non_alphanumeric': 0.12950916617386163, 'fraction_numerical': 0.018923713778829097, 'mean_word_length': 1.7072, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '5819259', 'n_tokens_mistral': 504, 'n_tokens_neox': 459, 'n_words': 105}