<%@ Page language="c#" Codebehind="voteview.aspx.cs" AutoEventWireup="false" Inherits="baoge.voteview" %>
<%@ Register TagPrefix="dcwc" Namespace="Dundas.Charting.WebControl" Assembly="DundasWebChart" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>voteview</title>
		<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
		<meta content="C#" name="CODE_LANGUAGE">
		<meta content="JavaScript" name="vs_defaultClientScript">
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
	</HEAD>
	<body MS_POSITIONING="GridLayout">
		<form id="ImageMapPieToolTip" method="post" runat="server">
			<TABLE id="Table1" cellSpacing="7" cellPadding="1" border="0">
				<TR>
					<TD vAlign="top" align="left" width="100%"><DCWC:CHART id="Chart1" runat="server" TitleFont="Microsoft Sans Serif, 10pt" TitleFontColor="White"
							Height="360px" Width="675px" BackColor="Moccasin" ImageUrl="img/ChartPic_#SEQ(300,3)" ImageType="png" Palette="Pastel"><SERIES>
								<dcwc:Series Name="Series1" ShadowOffset="3" BorderColor="DarkGray" ChartType="Pie"></dcwc:Series>
							</SERIES>
							<LEGEND BackColor="OldLace" ShadowOffset="2" BorderColor="Olive" Alignment="Center">
							</LEGEND>
							<BORDERSKIN SkinStyle="FrameTitle8" FrameBackColor="Peru"></BORDERSKIN>
							<CHARTAREAS>
								<dcwc:ChartArea BackColor="Transparent" Name="Default" BorderColor="">
									<INNERPLOTPOSITION Height="60" Width="54" X="20" Y="20"></INNERPLOTPOSITION>
									<POSITION Height="85" Width="70" X="3" Y="10"></POSITION>
								</dcwc:ChartArea>
							</CHARTAREAS>
						</DCWC:CHART></TD>
					<TD vAlign="top" align="left"></TD>
				</TR>
			</TABLE>
			<P><FONT face="ËÎÌå">
					<asp:Button id="btnstart" style="Z-INDEX: 101; LEFT: 248px; POSITION: absolute; TOP: 392px"
						runat="server" Text="·µ»ØÊ×Ò³"></asp:Button>
					<asp:Button id="btnclose" style="Z-INDEX: 102; LEFT: 352px; POSITION: absolute; TOP: 392px"
						runat="server" Text="¹Ø±Õ"></asp:Button></FONT></P>
			<script language="javascript">
			function onSliceClicked(pointIndex) { 
				var objSeries = document.Form1.elements["SeriesTooltip"];
				var objLegend = document.Form1.elements["LegendTooltip"];
				
				var parameters = "seriesTooltip=" + objSeries.options[objSeries.selectedIndex].value; 
				parameters = parameters + "&legendTooltip=" + objLegend.options[objLegend.selectedIndex].value; 

				document.Form1.elements["Chart1"].ImageUrl = "ImageMapToolTipsChart.aspx?" + parameters;
				
				document.images["Chart1"].src = document.Form1.elements["Chart1"].ImageUrl;
				//alert(document.Form1.elements["Chart1"].ImageUrl);
			} 
			 
			</script>
		</form>
	</body>
</HTML>
