Good day,
Just wanted to ask if it is possible to remove/hide the 0 values in the tooltip. What should I do to hide the 0 values?
Thank you.
Hi Germie,
Greetings from Syncfusion.
We suggest you sharedTooltipRender event to hide the zero data points from args.text. Please check with the below API reference link.
methods: { sharedTooltipRender: function(args) { //… } } |
API Reference : https://ej2.syncfusion.com/vue/documentation/api/chart/#sharedtooltiprender
Please let us know if you have any concerns.
Regards,
Durga Gopalakrishnan.
Wrong colors:Wrong colors:
Good day Durga,
I was able to hide the text in the tooltip, but I used tooltipRender.
tooltipRender(args) { if (args.data.pointY === 0) { args.text = '' } } |
Btw, my version for the chart
"@syncfusion/ej2-vue-charts": "^19.1.64", "@syncfusion/ej2-vue-base": "^18.4.42", |
Germie,
We have considered the reported scenario as a bug and logged a defect report for the same. The fix for the reported scenario will be included in our weekly patch release which is expected to be rolled out on February 14, 2023. Please find the below feedback link to keep track of the reported scenario.
Feedback link: https://www.syncfusion.com/feedback/40820/tooltip-text-is-not-rendered-properly-when-removing-one-text-in-tooltip
If you have any more specifications/precise replication procedure to be followed, please add it as a comment in the portal.
Germie,
Thank you for your patience.
We have included the fix for the reported scenario in our weekly patch release(v20.4.51). You can download the latest package from the below link.
https://www.npmjs.com/~syncfusionorg
Please upgrade the ej2-vue-charts package to the latest version to resolve the reported scenario. Please get back to us if you need further assistance.