How to set different styles for some text in echarts title

I want to set different colors for the key text in the

echarts title.
for example: "the statistical result is 12.2", in which I want to change the number "12.2" to another color. Is there a way to set this

Mar.16,2021

option.title can be an array, add any title, and customize the style

you can refer to this example, although it is not very intuitive
reference


I'd like to know how to change the style when the number in legend becomes larger


how does the landlord realize it? can you tell me how to wait online

?
Menu