title: AmCharts 4 - How to set the name of the export when using the API?
body: <p>I have this:</p>
  
  <pre><code>this.config = {};
  this.chartId = 'myId';
  this.chartType = am4charts.PieChart;
  
  this.chart = am4core.createFromConfig(
    {
      this.config,
      this.chartId,
      this.chartType
    }
  );
  </code></pre>
  
  <p>then do:</p>
  
  <pre><code>this.chart.exporting.export('png');
  </code></pre>
  
  <p>The name of the export file is set by default to "amCharts.png". How can I set the name to something else?</p>
  
  <p>I tried the following without success:</p>
  
  <pre><code>this.config = { export: { fileName: 'yay' } };
  this.config = { fileName: 'yay' };
  </code></pre>