Click here to Skip to main content
12,241,419 members (56,928 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: C# ASP.NET VS2010 MSChart
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 25-Nov-12 19:22pm

1 solution

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

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>
  Permalink  
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)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web01 | 2.8.160426.1 | Last Updated 27 Nov 2012
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100