Hello Muhammad,
Would it be possible for you to please provide some information on where you are currently trying to use this function? I see there is a DataTemplateRenderInfo as the function parameters, and this is used in programmatic templating for our IgxDataChart, but there are multiple things you can template.
Please let me know if you have any other questions or concerns on this matter.