Open souravpany opened 3 months ago
duplicate of #18339 ! Do you really need to use renderMode:'richText' ? formatter and textStyle work together fine without it.
@helgasoft
1 - Yes i need to to use 'richText' for react native frame work, because html option is not working in mobile. If you any suggestion on this please do share, i will definitely give a try.
2 - 'formatter and textStyle work together fine without it' - Yes it is but as mentioned above fontSize, fontWeight and fontFamily are not implementing on the tool tip text while using formatter and textStyle together.
One more request if you have any suggestions regarding the above points, please do share it would be highly appreciated.
Version
5.5.0
Link to Minimal Reproduction
PYBwLglsB2AEC8sDeAoWsA2BTA5l6AJgFzJrqxigkBEARsGJQLbUA0Z6BAhmFyQNrVA8IaBEFWoBdMgF926SsAyQQJVOQoAnCDjzqA8tBrQYWNh1hcMAdy4BPAM4BlABbBLAYRhh8YEmHUBXLFlyEGA7CEgYEgAzf2gAY0joAApwAEpSNXR1LDB_dTh
Steps to Reproduce
use richText renderMode use formatter add textStyle
tooltip: { renderMode: "richText", formatter: Data: {c}, textStyle: { fontSize: 60, fontWeight: "500", fontFamily: "My-Custom-Font", }, },
Current Behavior
Expected Behavior
Environment
Any additional comments?
I have used the same chart option for tooltip in react native framework also, but the result is same as web (as mentioned above).