<commit_before>
(function(){
    // Stacked Vertical Bar Chart
    // --------------------------

    var StackedColumnChart = Datawrapper.Visualizations.StackedColumnChart = function() {

    };

    _.extend(StackedColumnChart.prototype, Datawrapper.Visualizations.GroupedColumnChart.prototype, {

        // some config
        _showValueLabels: function() { return false; },

        initDimensions: function(r) {
            //
            var me = this, c = me.__canvas,
                dMin = 0, dMax = 0;
            _.each(me.chart.dataSeries(), function(series) {
                var ssum = 0;
                _.each(series.data, function(v) {
                    ssum += v;
                });
                dMin = Math.min(dMin, series.min);<commit_msg>reversing default colors for stacked bars (darkest to bottom)<commit_after>
(function(){
    // Stacked Vertical Bar Chart
    // --------------------------

    var StackedColumnChart = Datawrapper.Visualizations.StackedColumnChart = function() {

    };

    _.extend(StackedColumnChart.prototype, Datawrapper.Visualizations.GroupedColumnChart.prototype, {

        // some config
        _showValueLabels: function() { return false; },

        getRowColors: function() {
            return this._getRowColors();
        },

        initDimensions: function(r) {
            //
            var me = this, c = me.__canvas,
                dMin = 0, dMax = 0;
            _.each(me.chart.dataSeries(), function(series) {
                var ssum = 0;
                _.each(series.data, function(v) {
                    ssum += v;
                });
                dMin = Math.min(dMin, series.min);
{'fraction_non_alphanumeric': 0.14011976047904193, 'fraction_numerical': 0.003592814371257485, 'mean_word_length': 1.6150234741784038, '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': '3752119', 'n_tokens_mistral': 463, 'n_tokens_neox': 431, 'n_words': 93}