<commit_before>$.ajax({
    url: '/plaid/donations_graph',
    type: 'GET'
}).done(function(response){
  var cumulative_donation_array = response['monthAmount']['cumulative_donation'];
  var daily_donation_array = response['monthAmount']['daily_donation'];

  for(var x = 0; x < cumulative_donation_array.length; x++){
    cumulative_donation_array[x] = parseFloat(cumulative_donation_array[x]);
  };
  for(var x = 0; x < daily_donation_array.length; x++){
    daily_donation_array[x] = parseFloat(daily_donation_array[x]);
  };

  Highcharts.setOptions({
      colors: ['#24CBE5'],
      // colors: ['#6AF9C4']
  });

  $('#chart-container').highcharts({
    chart: {
      // Sets the type of font
      type: 'area',

      // Sets the background color
      // backgroundColor: '#6AF9C4',

      // Sets the margins
      marginTop: 20,
      marginRight: 20,
      marginLeft: 20,
      marginBottom: 20,

      // Sets the angle curves
      borderRadius: 7,

      // Sets the font
      // style: {
      //     fontFamily: 'serif'
      // }
    },
    tooltip:{
      shared: true,
      formatter: function(){
        var s = '<b>' + this.x + '</b>' + '<br/>Tot: $' + this.points[0].y + '<br/>Day: $' + this.points[1].y


        return s;
      }
    },

    // plotOptions: {
    //   // line: {
    //   //  lineWidth: 0
    //   // }
    // },
    title: {
        text: 'Donations'
    },
    xAxis: {
      categories: response['monthAmount']['dates'],
<commit_msg>Modify chart sytling<commit_after>$.ajax({
    url: '/plaid/donations_graph',
    type: 'GET'
}).done(function(response){
  var cumulative_donation_array = response['monthAmount']['cumulative_donation'];
  var daily_donation_array = response['monthAmount']['daily_donation'];

  for(var x = 0; x < cumulative_donation_array.length; x++){
    cumulative_donation_array[x] = parseFloat(cumulative_donation_array[x]);
  };
  for(var x = 0; x < daily_donation_array.length; x++){
    daily_donation_array[x] = parseFloat(daily_donation_array[x]);
  };

  Highcharts.setOptions({
      colors: ['#24CBE5'],
      // colors: ['#6AF9C4']
  });

  $('#chart-container').highcharts({
    chart: {
      // Sets the type of font
      type: 'area',

      // Sets the background color
      // backgroundColor: '#6AF9C4',

      // Sets the margins
      marginTop: 20,
      marginRight: 20,
      marginLeft: 20,
      marginBottom: 20,

      // Sets the angle curves
      borderRadius: 0,

      // Sets the font
      // style: {
      //     fontFamily: 'serif'
      // }
    },
    tooltip:{
      shared: true,
      formatter: function(){
        var s = '<b>' + this.x + '</b>' + '<br/>Tot: $' + this.points[0].y + '<br/>Day: $' + this.points[1].y


        return s;
      }
    },

    // plotOptions: {
    //   // line: {
    //   //  lineWidth: 0
    //   // }
    // },
    title: {
        text: 'Contributions'
    },
    xAxis: {
      categories: response['monthAmount']['dates'],

{'fraction_non_alphanumeric': 0.17142857142857143, 'fraction_numerical': 0.01546218487394958, 'mean_word_length': 2.2667398463227224, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 11, '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': '2965082', 'n_tokens_mistral': 1051, 'n_tokens_neox': 979, 'n_words': 196}