'How to customize csv data in amcharts3 export function in Angular

I have 2 columns 1 with id and the other with a count. Now I want to add a column to display the percentage in the CSV and a heading for the file.

data: [ { 
0: {id: '0', count: 80}, 
1: {id: '1', count: 100}, 
2: {id: '2', count: 20}, 
3: {id: '3', count: 40},
4: {id: '4', count: 30} 
}]

I have tried process data in the export function of Amchart3, but not working. Can anyone help me to solve this?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source