为标题添加颜色

master
yezhichao 2021-12-01 10:57:41 +08:00
parent a2413e104f
commit 939988493d
1 changed files with 4 additions and 1 deletions

View File

@ -39,7 +39,10 @@ const IN_POSITIONING_COLOR = new graphic.LinearGradient(
const option = reactive({ const option = reactive({
title: { title: {
text: props.title, text: props.title,
left: 'center' left: 'center',
textStyle: {
color: 'white'
}
}, },
xAxis: { xAxis: {
type: 'category', type: 'category',