UIChart.prototype.refresh = function () {
        if (this.chart) {
            this.chart.update();
        }
    };