tion, true);
                        }
                    }, {
                        text: 'Bar',
                        onclick: function () {
                            chart.setOption(barOption, true);
                        }
                    }],
                });
            });
        </script>
    </body>
</html>

