rao Posted April 11, 2008 Report Share Posted April 11, 2008 Hi All, How to pass the pie chart data into the div tag. Thanks & Regards Rao Quote Link to comment Share on other sites More sharing options...
PDyer Posted April 11, 2008 Report Share Posted April 11, 2008 Not sure what you mean, perhaps you want to wrap a Pie around a div tag (?). If so, you may do the following: <div> Create Pie Chart here if you are using a control or use <img src="path"> if you are using an image</div>On the other hand, if you need to retrieve data from a pie chart and displayed it in a div tag, there is no way to do this by reading the data from the pie chart, you may create a grid control and connect it to the same data source your chart is connected. Quote Link to comment Share on other sites More sharing options...
rao Posted April 11, 2008 Author Report Share Posted April 11, 2008 This is my code I wrote this code in page load. I am getting the static value. i have to change the dynamic where can i bind the data. on mouse move to i have to get the label points how do i get it? string sSecutiry = string.Empty; sSecutiry = chartpie.Points[0, 0].Text; chartpie.AllSeries.Link.OnMouseOver = "ShowContent('" + sSecutiry + "');"; chartpie.AllSeries.Link.OnMouseOver = "ShowContent('" + chartpie.Points[0, MouseMove.Point].Text + "');"; chartpie.AllSeries.Link.OnMouseOut = "HideContent('uniquename4'); return true;"; Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.