0

我的asp,net webforms中有一个webchartcontrol,我一直在尝试使用工具提示在将鼠标悬停在一个点上时显示数据,但工具提示从未激活。我尝试了我在网上找到的不同的东西。下面是我一直在尝试的代码。有人可以告诉我我做错了什么吗?

ActiveChart.CrosshairEnabled = DevExpress.Utils.DefaultBoolean.False;
ActiveChart.ToolTipEnabled = DevExpress.Utils.DefaultBoolean.True;
ActiveChart.Series[0].ToolTipEnabled = DevExpress.Utils.DefaultBoolean.True;
ActiveChart.Series[0].ToolTipPointPattern = "{HINT} Test";
ActiveChart.Series[0].LabelsVisibility = DevExpress.Utils.DefaultBoolean.True;
4

0 回答 0