This is a PR maybe related to this feature.
renderItem(params, api) {
return {
type: 'group',
children: [{
type: 'rect',
textContent: {
// type: 'text' can be ignored
style: {
text: 'xxxx',
fill: 'red'
},
emphasis: { // this rect emphasis
style: {
...
}
}
}
}, {
type: 'rect',
textContent: {
// type: 'text' can be ignored
style: {
text: 'xxxx',
fill: 'red'
},
// emphasis: { // this rect NOT emphasis
// style: {
// ...
// }
// }
}
}]
}
}
What problem does this feature solve?
How can I do this? Thanks!!!
This is a PR maybe related to this feature.
#12775
What does the proposed API look like?