From 28b0d9dbd884a7fa55ef8565b5e70a0588e19478 Mon Sep 17 00:00:00 2001 From: Jon Ziebell Date: Tue, 29 Oct 2019 20:39:16 -0400 Subject: [PATCH] Fixed #176 - Cannot download temperature profiles chart Forgot to update this one line of code when migrating to chart2. --- js/component/card/temperature_profiles.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/component/card/temperature_profiles.js b/js/component/card/temperature_profiles.js index 3b5fe4c..cefa694 100644 --- a/js/component/card/temperature_profiles.js +++ b/js/component/card/temperature_profiles.js @@ -207,7 +207,7 @@ beestat.component.card.temperature_profiles.prototype.decorate_top_right_ = func .set_text('Download Chart') .set_icon('download') .set_callback(function() { - self.chart_.get_chart().exportChartLocal(); + self.chart_.export(); })); menu.add_menu_item(new beestat.component.menu_item()