From 121b96219672b5ef17fa7e0041eb5328faa40d6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C5=BEe=20Fortun?= Date: Fri, 2 Dec 2022 11:21:43 +0100 Subject: [PATCH] Rerender reporter chart in compose when options change --- .../src/components/reporter/Viewers/CReportChart.vue | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/lib/vue/src/components/reporter/Viewers/CReportChart.vue b/lib/vue/src/components/reporter/Viewers/CReportChart.vue index 33df4c7f5..606f651dc 100644 --- a/lib/vue/src/components/reporter/Viewers/CReportChart.vue +++ b/lib/vue/src/components/reporter/Viewers/CReportChart.vue @@ -34,6 +34,17 @@ export default { }) }, }, + + options: { + deep: true, + handler () { + this.chart = undefined + + this.$nextTick(() => { + this.renderChart() + }) + }, + } }, methods: {