在Visual Studio 2010中使用mscharts的问题 [英] problem using mscharts in visual studio 2010
本文介绍了在Visual Studio 2010中使用mscharts的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用Visual Studio图表控件n尝试实现工具提示下钻(图表扇区工具提示中的新图表).
当我将鼠标悬停在特定图表扇区上时,出现jscript错误:预期对象;
可能有什么问题..
事先感谢与问候
hi there,
i''m using visual studio charts control n trying to implement a tooltip drill down(a new chart in tool tip of chart sector).
When i hover mouse over a particular chart sector there is a jscript error:object expected;
what can be possible problems..
thanks & regards in advance
推荐答案
使用可以使用内置的工具提示功能,并在为MS Chart设计的页面上使用ScriptManager
use can use inbuilt Tool tip felicity, and use ScriptManager on the page where you have designed for the MS Chart
<asp:Chart ID="chtProducts" runat="server" ...>
<Series>
<asp:Series Name="SalesByMonth" ChartType="Column" BorderWidth="5"
ToolTip="#VALX{d}, #VALY{d}"
ChartArea="MainChartArea"
YValueMembers="Total"
XValueMember="Month"
PostBackValue="#VALX" />
</Series>
<ChartAreas>
...
</ChartAreas>
</asp:Chart>
这篇关于在Visual Studio 2010中使用mscharts的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文