Click here to Skip to main content
15,892,298 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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
Posted

1 solution

use can use inbuilt Tool tip felicity, and use ScriptManager on the page where you have designed for the MS Chart


XML
<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>
 
Share this answer
 
Comments
WSourabh2590 29-Nov-12 0:41am    
Actually i have explored this... and i am able to do this... i was trying to open a new chart as a tooltip on mouse hover....

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900