 + snapshotFinishedDom.offsetHeight + 'px';

                // chart.on('rendered', function () {
                //     var url = chart.getDataURL();
                //     snapshotRenderedDom.src = url;
                //     renderedInfoDom.innerHTML = 'rendered triggered at <span>' + +new Date() + '</span>';
                // });

                chart.on('finished', renderSnapshot);

                function renderSnapshot() {
                    var url = chart.getDataURL();
                    snap