wuba / wuba/react-native-echarts
Cannot update textStyle in tooltip with formatter
Open
@zhiqingchen is already working on this.
Since Mar 8, 2023.
bug
- Dominant language
- TypeScript
- Stars
- 967
- Forks
- 35
- PR merge metrics
- No merged PRs in 30d
Description
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:
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.