为标题添加颜色

This commit is contained in:
yezhichao
2021-12-01 10:57:41 +08:00
parent a2413e104f
commit 939988493d

View File

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