<commit_before>/* global ngGridFlexibleHeightPlugin, Papa*/
'use strict';

/**
 * @ngdoc function
 * @name axisJSApp.controller:MainCtrl
 * @description
 * Main controller. Populates and links the input fields.
 */
angular.module('axisJSApp')
  .controller('MainCtrl', function ($scope) {
    $scope.inputs = {};
    $scope.columns = [];
    $scope.chartData = {};
    $scope.gridOptions = {
      data: 'chartData',
      plugins: [
        new ngGridFlexibleHeightPlugin()
      ]
    };

    $scope.config = {
      data: {
        x: '',
        y: '',
        y2: '',
        columns: [
          ['data1', 30, 200, 100, 400, 150, 250],
          ['data2', 50, 20, 10, 40, 15, 25]
        ],
        axes: {
        },
        type: '',
        types: {
          data1: 'line', // Currently must set explictly on initialisation to populate view.
          data2: 'line'
        },
        colors: {
          data1: '#44a4ed',
          data2: '#AEC1D0'
        }
      },
      axis: {
        x: {
          show: true,
          tick: {
            format: function(d){return d;}
          }
        },
        y: {
          show: true,
          tick: {
            format: function(d){return d;}
          }
        },
        y2: {
          show: false,
          tick: {
            format: function(d){return d;}
          }
        }
      }
    };
<commit_msg>Turning points off as per style.<commit_after>/* global ngGridFlexibleHeightPlugin, Papa*/
'use strict';

/**
 * @ngdoc function
 * @name axisJSApp.controller:MainCtrl
 * @description
 * Main controller. Populates and links the input fields.
 */
angular.module('axisJSApp')
  .controller('MainCtrl', function ($scope) {
    $scope.inputs = {};
    $scope.columns = [];
    $scope.chartData = {};
    $scope.gridOptions = {
      data: 'chartData',
      plugins: [
        new ngGridFlexibleHeightPlugin()
      ]
    };

    $scope.config = {
      data: {
        x: '',
        y: '',
        y2: '',
        columns: [
          ['data1', 30, 200, 100, 400, 150, 250],
          ['data2', 50, 20, 10, 40, 15, 25]
        ],
        axes: {
        },
        type: '',
        types: {
          data1: 'line', // Currently must set explictly on initialisation to populate view.
          data2: 'line'
        },
        colors: {
          data1: '#44a4ed',
          data2: '#AEC1D0'
        }
      },
      axis: {
        x: {
          show: true,
          tick: {
            format: function(d){return d;}
          }
        },
        y: {
          show: true,
          tick: {
            format: function(d){return d;}
          }
        },
        y2: {
          show: false,
          tick: {
            format: function(d){return d;}
          }
        }
      },
      point: {
          show: false
      }
    };

{'fraction_non_alphanumeric': 0.14533853243530662, 'fraction_numerical': 0.02977667493796526, 'mean_word_length': 1.3674496644295302, '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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5693205', 'n_tokens_mistral': 928, 'n_tokens_neox': 857, 'n_words': 198}