ASP:Chart ToolTip Formatting Flags

Having spent some time working on asp:charts recently, I can tell you that I didn’t have an easy time finding the ToolTip formatting flags that can be passed in to display data in the ToolTip.

I wanted to display the name of the series of the line I wished to hover on and the value of line using commas. Until I found this gem on a 4 year old MSDN Blog Post by Alex Gorev I couldn’t figure it out.

Using the information I set up: Chart1.Series[seriesName].ToolTip = “#SERIESNAME, #VAL{#,#}”;

Thanks Alex!

ToolTip Formatting Flags for an ASP:Chart Control
Image Credit: Alex Gorev http://blogs.msdn.com/b/alexgor/