Tooltip builder data is incorrect

Tooltip builder does not return the correct data. Using this pseudo code: 

TooltipBehavior(
duration: 20000,
enable: true,
// Templating the tooltip
builder: (dynamic data, dynamic point, dynamic series, int pointIndex, int seriesIndex) {
print(data);
}

3 Replies

LP Lokesh Palani Syncfusion Team March 29, 2024 11:52 AM UTC

Hi Jesse,


We have checked the reported issue and tried to replicate it in the SfCartesianChart version 25.1.37 by setting the builder property in the TooltipBehavior. However, we were unable to reproduce it on our end. Please check the attached sample, and if you are still experiencing the issue, we request that you replicate it in the attached sample and provide us with more details regarding the specific scenario in which you are encountering this issue. This will help us to assist you more effectively.


Regards,

Lokesh P.


Attachment: forum_187443_2a23a0cc.zip


JE Jesse April 9, 2024 04:10 PM UTC

with a simple example yes but more complex ones it doesnt work. i have my datasoruce coming from a nested map.



NR Natrayan Ramalingam Syncfusion Team April 10, 2024 01:57 PM UTC

Hi Jesse,


We have noted that you are using a nested data source in your requirement. We are unclear about the type of series you are utilizing and the steps you have taken with the mappers of xValueMapper and yValueMapper, as well as the dataSource scenario. However, we have provided a workaround sample for the use of the nested data source. We kindly request you to share more detailed information about your requirements, including screenshots or screen recordings, to assist us in understanding your needs more effectively.


Regards,

Natrayan


Attachment: forum_187443_748cb45f.zip

Loader.
Up arrow icon