react-native-echarts icon indicating copy to clipboard operation
react-native-echarts copied to clipboard

Tooltip formatter neglects all other options

Open hazirmagron opened this issue 1 year ago • 2 comments

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.

hazirmagron avatar Sep 17 '23 17:09 hazirmagron

Got any suggestions? @zhiqingchen

hazirmagron avatar Sep 17 '23 17:09 hazirmagron

Similar issues:

https://github.com/wuba/react-native-echarts/issues/15

zhiqingchen avatar Sep 18 '23 02:09 zhiqingchen