forked from github/dataease
fix(地图): 缺失维度指标的情况下标题也无法显示#5172
This commit is contained in:
parent
3d6887acfe
commit
4a05364ce4
@ -83,9 +83,9 @@ export function baseMapOption(chart_option, chart, themeStyle, curAreaCode, seri
|
|||||||
chart_option.tooltip.borderColor = bgColor
|
chart_option.tooltip.borderColor = bgColor
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
chart_option.title.text = chart.title
|
||||||
// 处理data
|
// 处理data
|
||||||
if (chart.data) {
|
if (chart.data) {
|
||||||
chart_option.title.text = chart.title
|
|
||||||
if (chart.data.series && chart.data.series.length > 0) {
|
if (chart.data.series && chart.data.series.length > 0) {
|
||||||
chart_option.series[0].name = chart.data.series[seriesIndex].name
|
chart_option.series[0].name = chart.data.series[seriesIndex].name
|
||||||
chart_option.series[0].selectedMode = true
|
chart_option.series[0].selectedMode = true
|
||||||
|
Loading…
Reference in New Issue
Block a user