wuba / wuba/react-native-echarts
Tooltip formatter neglects all other options
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 967
- Forks
- 35
- PR merge metrics
- No merged PRs in 30d
Description
Is your feature request related to a problem? Please describe.
When the Tooltip formatter is used the other options, such as valueFormatter, textStyle and others are neglected.
This is for the most part fine since value formatting can be done inside the formatter directly. I have yet to find a way to apply styling. Not being able to apply styling is particularly problematic as the one applied when formatter is used shows the tooltip text in a very small font.
Edit:
I might add that the behavior is inconsistent. E.g. tooltip.textStyle.color does still apply when formatter is used, fontSize does not apply.
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.
Research direction
Start by reproducing the Tooltip formatter behavior described in the issue, comparing tooltip.textStyle.color and fontSize with valueFormatter and other options. Trace the tooltip formatter entry point and document or test the expected result: formatter use should not unexpectedly suppress applicable tooltip styling options.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react-native, typescript
- Domain
- frontend, mobile
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100