Cannot update textStyle in tooltip with formatter
Hi! I'm trying to customize tooltip in series with type: 'custom' using formatted function, but I'm not able to change styles of text
type: 'custom',
data: [7000],
tooltip: {
formatter: (params: CallbackDataParams) => {
return `Data: ${params.data}`;
},
textStyle: {
fontSize: 20,
},
},
The result:
Yes, this is a problem. ~~custom tooltip in echarts uses html instead of svg, and html is not currently supported in wrn-echarts.~~
~~Alternatively, you can select svg rendering in the chart editor in echarts and locate if htm is used by the browser's review element.~~
We are also in the process of sorting out the relevant currently unsupported features.
is it possible to support this?
we will try it.
custom tooltip in echarts uses html instead of svg, and html is not currently supported in wrn-echarts.
This sentence is misrepresented
https://github.com/apache/echarts/issues/18339
It may be an issue of echarts.