     position: 'outside'
                        }
                    },
                    emphasis: {
                        shadowBlur: 10,
                        shadowOffsetX: 0,
                        shadowOffsetY: 0,
                        shadowColor: 'rgba(0,0,0,0.5)'
                    }
                };

                console.profile('setOption');
                chart.setOption({
                    legend: {
                        data: [{
                            name: 'bar'
  