                   ) {
                            data[targetDataIndex].value += data[draggingDataIndex].value;
                            data[targetDataIndex].name += '\n' + data[draggingDataIndex].name;
                            legendData[targetDataIndex] = data[targetDataIndex].name;
                            data.splice(draggingDataIndex, 1);
                            legendData.splice(draggingDataIndex, 1);
                            chart.setOption({
                                legend: 