title: Chart.JS: How to make sharp lines to smooth curved lines
body: <p>Hi I'm new at charts and this is my chartjs chart, it's working currently, but it's showing in sharp lines and I want to make it smooth curve lines on this chart. Any ideas?</p>
  <pre><code>function statistics(data) {
      if ($('#stats-currency').length &gt; 0) {
  
          if (typeof(stats_currency) !== 'undefined') {
              stats_currency.destroy();
          }
          if (typeof(data) == 'undefined') {
              var currency = $('select[name=&quot;currency&quot;]').val();
              $.get(admin_url + 'home/stats_currency/' + currency, function(response) {
                  stats_currency = new Chart($('#stats-currency'), {
                      type: 'line',
                      data: response,
                      options: {
                          responsive:true,
                          scales: {
                              yAxes: [{
                                ticks: {
                                  beginAtZero: true,
                              }
                          }]
                      },
                  },
              });
              }, 'json');
          } else {
              stats_currency = new Chart($('#stats-currency'), {
                  type: 'line',
                  data: data,
                  options: {
                      responsive: true,
                      scales: {
                          yAxes: [{
                            ticks: {
                              beginAtZero: true,
                          }
                      }]
                  },
              },
          });
          }
  </code></pre>