enter image description here
function createSeries(field, name, tooltip, color) { var series = chart.series.push(new am4charts