diff --git a/core/core-frontend/src/views/chart/components/editor/editor-style/components/CustomColorStyleSelect.vue b/core/core-frontend/src/views/chart/components/editor/editor-style/components/CustomColorStyleSelect.vue
index 79e070c770..d805abca99 100644
--- a/core/core-frontend/src/views/chart/components/editor/editor-style/components/CustomColorStyleSelect.vue
+++ b/core/core-frontend/src/views/chart/components/editor/editor-style/components/CustomColorStyleSelect.vue
@@ -142,6 +142,8 @@ const setupSeriesColor = () => {
const target = document.getElementById(targetId)
if (target) {
seriesColorState.seriesColorPickerId = `#${targetId}`
+ } else {
+ seriesColorPickerRef.value?.hide()
}
})
}
@@ -175,7 +177,7 @@ const changeSeriesColor = () => {
}
})
if (changed) {
- state.value.basicStyleForm[seriesColorName.value] = seriesColorState.seriesColor
+ state.value.basicStyleForm[seriesColorName.value] = cloneDeep(seriesColorState.seriesColor)
changeBasicStyle('seriesColor')
}
}
diff --git a/core/core-frontend/src/views/chart/components/editor/editor-style/components/DualBasicStyleSelector.vue b/core/core-frontend/src/views/chart/components/editor/editor-style/components/DualBasicStyleSelector.vue
index 1088b0ebea..ad3a612182 100644
--- a/core/core-frontend/src/views/chart/components/editor/editor-style/components/DualBasicStyleSelector.vue
+++ b/core/core-frontend/src/views/chart/components/editor/editor-style/components/DualBasicStyleSelector.vue
@@ -209,7 +209,7 @@ onMounted(() => {
-
+
{
{{ t('chart.line_smooth') }}
-
+