Skip to content

Example of Tooltip Template in ASP.NET Core Charts Control

This example writes the tooltip of a point from your own template, with the fields of the row in it.

Tooltip.Template names a <template> with your own markup for the tooltip of a point. The placeholders are ${x}, ${y}, ${series}, ${color} and any field of the row, here ${UnitsSold} and ${Rating}. Hover a column.