
Untitled
By: a guest on
Jun 2nd, 2012 | syntax:
None | size: 0.50 KB | hits: 43 | expires: Never
Open a new window using MapAreaAttributes in microsoft chart control
series.MapAreaAttributes= "target='_blank'";
Chart1.Series["MySeries"].Points[0].Url = "javascript:void(0)"; //this is just to tell the browser not follow a URL, since you will control this with your javascript
Chart1.Series["MySeries"].Points[0].MapAreaAttributes = "onclick="OpenWindow();""; //this is to set the onclick attribute to fire your javascript function when the user clicks your column.
"onclick='OpenWindow();'";