e: api.style({
                                    fill: api.visual('color')
                                })
                            };
                        }
                    });
                });
                data.forEach(function (dataItem) {
                    series[dataItem[0]].data.push([dataItem[1], dataItem[2]]);
                });
                var option = {
                    title: title,
                    singleAxis: singleAxis,
                    series: series
     