diff --git a/core/frontend/src/views/chart/view/ChartEdit.vue b/core/frontend/src/views/chart/view/ChartEdit.vue index f46cb26b0f..8ddd9d4276 100644 --- a/core/frontend/src/views/chart/view/ChartEdit.vue +++ b/core/frontend/src/views/chart/view/ChartEdit.vue @@ -2546,7 +2546,7 @@ export default { if (equalsAny(view.type, 'chart-mix', 'bidirectional-bar')) { view.yaxisExt.forEach(function(ele) { if (!ele.chartType) { - ele.chartType = 'bar' + ele.chartType = view.type === 'chart-mix' ? 'line' : 'bar' } if (ele.chartId) { ele.summary = ''