<%@ Register TagPrefix="dcwc" Namespace="Dundas.Charting.WebControl" Assembly="DundasWebChart" %>
<%@ Page language="c#" Codebehind="SaleState.aspx.cs" AutoEventWireup="false" Inherits="wqeshop.Admin.SaleState" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>SaleState</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">
		<LINK href="inc/style.css" type="text/css" rel="stylesheet">
	</HEAD>
	<BODY bottomMargin="0" bgProperties="fixed" bgColor="#ddeeff" leftMargin="0" topMargin="0"
		rightMargin="0" marginwidth="0" marginheight="0">
		<form id="Form1" method="post" runat="server">
			<table class="tableBorder" cellSpacing="0" cellPadding="0" width="95%" align="center" border="0">
				<tr>
					<th class="tableHeaderText" colSpan="2" height="25">
						今日销量统计</th>
				<tr>
				<tr>
					<td class="forumRowHighlight" colSpan="2" height="23">今日订单总数：
						<asp:label id="lblOrderCount" runat="server"></asp:label><BR>
						今日销售总额：
						<asp:label id="lblSellTotal" runat="server"></asp:label></td>
				</tr>
			</table>
			<p></p>
			<table class="tableBorder" cellSpacing="0" cellPadding="0" width="95%" align="center" border="0">
				<tr>
					<th class="tableHeaderText" colSpan="2" height="25">
						按条件生成图表</th>
				<tr>
				<tr>
					<td class="forumRowHighlight" colSpan="2" height="23"><asp:radiobuttonlist id="rblMode" runat="server" Width="230" RepeatDirection="Horizontal" AutoPostBack="True">
							<asp:ListItem Value="0" Selected="True">订单数</asp:ListItem>
							<asp:ListItem Value="1">销售总额</asp:ListItem>
							<asp:ListItem Value="2">时间段总额</asp:ListItem>
						</asp:radiobuttonlist><br>
						<asp:panel id="pnlSearch" Runat="server">从 
<asp:dropdownlist id="ddlStartTimeYear" runat="server"></asp:dropdownlist>
<asp:dropdownlist id="ddlStartTimeMonth" runat="server"></asp:dropdownlist>到 
<asp:dropdownlist id="ddlEndTimeYear" runat="server"></asp:dropdownlist>
<asp:dropdownlist id="ddlEndTimeMonth" runat="server"></asp:dropdownlist>
<asp:RadioButton id="rb1" runat="server" GroupName="time" Text="以年为单位"></asp:RadioButton>
<asp:RadioButton id="rb2" runat="server" GroupName="time" Text="以月为单位" Checked="True"></asp:RadioButton></asp:panel><br>
						<asp:button id="btnCreat" runat="server" Text="生成图表"></asp:button></td>
				</tr>
			</table>
			<p></p>
			<table class="tableBorder" cellSpacing="0" cellPadding="0" width="95%" align="center" border="0">
				<tr>
					<th class="tableHeaderText" colSpan="2" height="25">
						统计图表</th>
				<tr>
				<tr>
					<td class="forumRowHighlight" align="center" colSpan="2" height="23">
						<DCWC:CHART id="Chart1" title="销售统计图" runat="server" Width="800px" ImageType="Png" Palette="Pastel"
							Color="DarkCyan" BackHatchStyle="WideDownwardDiagonal" BackColor="AliceBlue" TitleFont="SimSun, 18px, style=Bold"
							Height="494px">
							<Series>
								<dcwc:Series BackGradientEndColor="0, 192, 192" BackGradientType="VerticalCenter" ShowInLegend="False"
									Name="OrderAnalysis" Color="DarkCyan" ShadowOffset="2"></dcwc:Series>
								<dcwc:Series BackGradientEndColor="LightSalmon" BackGradientType="VerticalCenter" ShowInLegend="False"
									Name="SellAnalysis" Color="Crimson" ShadowOffset="2"></dcwc:Series>
								<dcwc:Series BackGradientEndColor="LightSalmon" BackGradientType="VerticalCenter" ShowInLegend="False"
									Name="TimeAnalysis" Color="Crimson" ShadowOffset="1"></dcwc:Series>
							</Series>
							<Legend BorderWidth="0" BackGradientEndColor="DarkCyan" LegendStyle="Table" BackGradientType="LeftRight"
								InsideChartArea="Default">
							</Legend>
							<BorderSkin FrameBackGradientType="LeftRight" FrameBackColor="Turquoise" FrameBackGradientEndColor="DarkTurquoise"
								SkinStyle="FrameTitle5"></BorderSkin>
							<ChartAreas>
								<dcwc:ChartArea BorderColor="Transparent" BackGradientEndColor="LightBlue" ShadowOffset="2" Name="Default"
									BackColor="LightBlue" ShadowColor="DarkGray" BorderWidth="0"></dcwc:ChartArea>
							</ChartAreas>
						</DCWC:CHART></td>
				</tr>
			</table>
			<p></p>
		</form>
	</BODY>
</HTML>
