               },
                        dimensions: ['from', 'to', 'profit'],
                        encode: {
                            x: [0, 1],
                            y: 2,
                            tooltip: [0, 1, 2]
                        },
                        data: data
                    }]
                };

                testHelper.createChart(echarts, 'profit', option);
            });
        </script>













        <script>
            require(['echarts'], function 