Hello Grover,
Thank you for contacting Infragistics support!
You may find information on Chart labels, including how to use label keywords, in the following help topic - https://ko.infragistics.com/help/aspnet/chart-apply-chart-text-labels .
Please, look at it and let me know if it is not what you are searching for.
Thank you for using Infragistics ASP.NET!
Best regards, Alexander Marinov
Hello Alexander,
Thank you for your reply.
No. I'm looking for customizing tooltip in gantt charts.
Something like point 6 in this link.
https://ko.infragistics.com/help/winforms/chart-use-predefined-and-custom-label-styles
can you help me with sample code for this implementation
Thank you for your response!
I am attaching an example that I hope you will find useful. Please, have in mind that the current implementation demonstrates how you can set a custom tooltip, however it will display the same text in all tooltips now.
In order to set specific message for each tooltip you should uncomment the "IRenderLabel" interface and its' implementation and implement your own logic there.
Please, let me know if you need any assistance on this task!
WebApplication11.zip
Thank you the solution.
Using this I'm able to give custom message in tooltip.
But this is showing same message for all taskItems.
How I can give unique message for each Task item (GanttTimeEntry)
For example, In case of Employee, I want to show employee specific details.
Please provide a sample for that.
Thank you
Thanks Alexander for helping me in resolving the issue.
Regards,
Harjot
Did you try implementing your custom logic inside the IRenderLabel interface implementation?
You can refer to this help topic to see an example of such implementation - https://ko.infragistics.com/help/winforms/chart-customize-labels-using-the-irenderlabel-interface
Note that this topic is about our WinForms chart component, however, you can use the same approach in your WebForms application.
Update: Note that the WinForms topic is about setting a custom label and you need a custom tooltip so you need to change that in your code.
Best regards,Alexander