How to show tooltip on MS Chart

前端 未结 3 1972
梦如初夏
梦如初夏 2021-01-03 23:33

I am using MS Chart control to draw graphs on Winform.

I want to show the current (x,y) Value as tooltip on Mousedown on chartarea.

How do I do that?

3条回答
  •  暖寄归人
    2021-01-04 00:19

    This tooltip will appear on mouseover. I'm not sure if you can set it for mousedown event.

    Chart1.Series["Series1"].ToolTip = "#VALY, #VALX";
    

提交回复
热议问题