text: var options = {
      container: document.getElementById('myChart'),
      autoSize: true,
      title: {
          text: 'Average expenditure on coffee'
      },
      subtitle: {
          text: 'per person per week in Krakozhia'
      },
      data: [
          {
              year: '2015',
              spending: 35
          },
          {
              year: '2016',
              spending: 40
          },
          {
              year: '2017',
              spending: 43
          },
          {
              year: '2018',
              spending: 44
          }
      ],
      series: [{
          xKey: 'year',
          yKey: 'spending',
          label: {
              enabled: true,
              fontWeight: 'bold'
          }
      }]
  };
  
  agCharts.AgChart.create(options);