<commit_before>/**
 * This is the Javascript file that drives the SolarYpsi main website.
 
 * @author <NAME>
 * @date March 12, 2013
 */

g_mobile = false;
g_currViedo = 'GoogleSearch';
g_map = null;
g_charts = {
    Daily: {
        plot: null,
        loaded: false,
        curr_date: moment (),
        earliest_date: null,
        options: {
            series: {
                lines: {
                    show: true,
                    steps: false
                },
                bars: {
                    show: false
                },
                hoverable: true
            },
            xaxis: {
                ticks: [],
                tickLength: 0
            },
            yaxis: {},
            legend: {
                show: true,
                noColums: 1
            },
            grid: {
                borderWidth: 2,
                aboveData: true
            }
        }
    },
    Weekly: {
        plot: null,
        loaded: false,
        curr_idx: 0,
        min_idx: 0,
        max_idx: 4
    },
    Yearly: {
        plot: null,
        loaded: false,
        curr_year: parseInt (moment ().format ('YYYY')),
        min_year: null,
        data: null,
        options: {
            line: {
                series: {
                    lines: {
                        show: true,
                        steps: false
                    },
                    bars: {<commit_msg>Initializing yearly view type<commit_after>/**
 * This is the Javascript file that drives the SolarYpsi main website.
 
 * @author <NAME>
 * @date March 12, 2013
 */

g_mobile = false;
g_currViedo = 'GoogleSearch';
g_map = null;
g_charts = {
    Daily: {
        plot: null,
        loaded: false,
        curr_date: moment (),
        earliest_date: null,
        options: {
            series: {
                lines: {
                    show: true,
                    steps: false
                },
                bars: {
                    show: false
                },
                hoverable: true
            },
            xaxis: {
                ticks: [],
                tickLength: 0
            },
            yaxis: {},
            legend: {
                show: true,
                noColums: 1
            },
            grid: {
                borderWidth: 2,
                aboveData: true
            }
        }
    },
    Weekly: {
        plot: null,
        loaded: false,
        curr_idx: 0,
        min_idx: 0,
        max_idx: 4
    },
    Yearly: {
        plot: null,
        loaded: false,
        curr_year: parseInt (moment ().format ('YYYY')),
        min_year: null,
        data: null,
		view: 'line',
        options: {
            line: {
                series: {
                    lines: {
                        show: true,
                        steps: false
                    },
                    bars: {
{'fraction_non_alphanumeric': 0.09504132231404959, 'fraction_numerical': 0.008264462809917356, 'mean_word_length': 0.8574168797953964, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '7222795', 'n_tokens_mistral': 822, 'n_tokens_neox': 745, 'n_words': 195}