<%@ Page Language="C#" MasterPageFile="~/Admin/MasterPage.master" AutoEventWireup="true"
    Inherits="PowerEasy.Module.General.WebSite.Admin.Survey.ShowCountData" Title="查看统计结果" Codebehind="ShowCountData.aspx.cs" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CphNavigation" runat="Server">
    <table border="0" cellpadding="0" cellspacing="0" style="width: 100%">
        <tr>
            <td style="width: 60%">
                <pe:ExtendedSiteMapPath ID="SmpNavigator" runat="server" SiteMapProvider="AdminMapProvider" />
            </td>
            <td style="width: 40%; text-align: right">
                <asp:Label ID="LblSurveyName" runat="server"></asp:Label>&nbsp;</td>
        </tr>
    </table>
    <table style="width: 100%; margin: 0 auto;" cellpadding="0" cellspacing="0">
  <tr>
            <td id="AdminTabs">
                <ul>
                    <li <pe:ExtendedLiteral HtmlEncode="false" runat="server" ID="LitAll" />>
                        <a href='<%="ShowCountData.aspx?SurveyID="+HdnSurveyId.Value+"&SurveyName="+ m_SurveyName %>'><span>调查结果分析</span></a>
                    </li>
                    <li <pe:ExtendedLiteral HtmlEncode="false" runat="server" ID="LitPie" />>    
                        <a href='<%="ShowCountData.aspx?ShowType=Chart&SurveyID="+HdnSurveyId.Value+"&SurveyName="+m_SurveyName %>'><span>图表显示</span></a>
                    </li>
                    <li><a href='<%="ShowCountData3.aspx?SurveyID="+HdnSurveyId.Value+"&SurveyName="+m_SurveyName %>'><span>列表式查看</span></a></li>
                    <li><a href='<%="ShowCountData2.aspx?SurveyID="+HdnSurveyId.Value+"&SurveyName="+m_SurveyName %>'><span>卡片式查看</span></a></li>
                    <li><a href='<%="ShowCountData4.aspx?SurveyID="+HdnSurveyId.Value+"&SurveyName="+m_SurveyName %>'><span>表格式查看</span></a></li>
                    <li><a href='<%="QuestionDetail.aspx?SurveyID="+HdnSurveyId.Value+"&SurveyName="+m_SurveyName %>'><span>查看问题的回答详情</span></a></li>
                </ul>
            </td>
        </tr>
    </table>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="CphContent" runat="Server">
<div class="border tdbgleft" style="padding:5px;">
            <table width="100%" class="border" id="table1" runat="server">
                    <tr class="tdbg">
                        <td class="tdbgleft" id="color1">
                            图表背景颜色：
                        </td>
                        <td class="tdbgleft">
                            <asp:DropDownList ID="dlstBackColor" runat="server" AutoPostBack="true" Width="100">
                                <asp:ListItem Text="默认" Value="" />
                                <asp:ListItem Text="淡蓝" Value="#6699FF" />
                                <asp:ListItem Text="土黄" Value="#F3DFC1" />
                                <asp:ListItem Text="紫色" Value="#9966FF " />
                                <asp:ListItem Text="橘红" Value="#FF6633" />
                                <asp:ListItem Text="淡绿" Value="#CCFF99 " />
                                <asp:ListItem Text="棕色" Value="#996F00" />
                                <asp:ListItem Text="白色" Value="#FFFFFF" />
                                <asp:ListItem Text="灰色" Value="#C0C0C0" />
                            </asp:DropDownList>
                        </td>
                        <td class="tdbgleft">
                            XY轴显示类型：
                        </td>
                        <td class="tdbgleft">
                            <asp:DropDownList ID="dlstXYType" runat="server" AutoPostBack="true" Width="100">
                                <asp:ListItem Text="无" Value="None" />
                                <asp:ListItem Text="线形" Value="Lines"></asp:ListItem>
                                <asp:ListItem Text="箭头" Value="SharpTriangle" />
                                <asp:ListItem Text="三角" Value="Triangle" />
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr class="tdbg">
                        <td class="tdbgleft">
                            图表内容背景色：
                        </td>
                        <td class="tdbgleft">
                            <asp:DropDownList ID="dlstSeriesColor" runat="server" AutoPostBack="true" Width="100">
                                <asp:ListItem Text="默认" Value="#33aaFF" />
                                <asp:ListItem Text="蓝色" Value="#0044FF" />
                                <asp:ListItem Text="橙色" Value="#FF6600" />
                                <asp:ListItem Text="褐色" Value="#CC6633" />
                                <asp:ListItem Text="菊黄" Value="#FFCC00" />
                                <asp:ListItem Text="粉红" Value="#FF99CC" />
                                <asp:ListItem Text="绿色" Value="#99FF33" />
                                <asp:ListItem Text="紫色" Value="#CC33FF" />
                            </asp:DropDownList>
                        </td>
                        <td class="tdbgleft">
                            坐标轴颜色：
                        </td>
                       <td class="tdbgleft">
                            <asp:DropDownList ID="dlstAxisColor" runat="server" AutoPostBack="true" Width="100">
                                <asp:ListItem Text="默认" Value="#000000" />
                                <asp:ListItem Text="蓝色" Value="#0044FF" />
                                <asp:ListItem Text="橙色" Value="#FF6600" />
                                <asp:ListItem Text="褐色" Value="#CC6633" />
                                <asp:ListItem Text="菊黄" Value="#FFCC00" />
                                <asp:ListItem Text="粉红" Value="#FF99CC" />
                                <asp:ListItem Text="绿色" Value="#99FF33" />
                                <asp:ListItem Text="紫色" Value="#CC33FF" />
                            </asp:DropDownList>
                        </td>
                    </tr>
                   <tr class="tdbg">
                        <td class="tdbgleft">
                            背景渐变类型：
                        </td>
                        <td class="tdbgleft">
                            <asp:DropDownList ID="dlstBackGradientStyle" runat="server" AutoPostBack="true" Width="100">
                                <asp:ListItem Text="从上至下" Value="TopBottom" />
                                <asp:ListItem Text="无" Value="None" />
                                <asp:ListItem Text="从左至右" Value="LeftRight" />
                                <asp:ListItem Text="从左上至右下" Value="DiagonalLeft" />
                                <asp:ListItem Text="从右上至左下" Value="DiagonalRight" />
                                <asp:ListItem Text="从左右至中间" Value="VerticalCenter" />
                                <asp:ListItem Text="从上下至中间" Value="HorizontalCenter" />
                                <asp:ListItem Text="从中间至边缘" Value="Center" />
                            </asp:DropDownList>
                        </td>
                        <td class="tdbgleft">
                            三维显示：
                        </td>
                        <td class="tdbgleft">
                            <asp:CheckBox runat="server" Checked="false" AutoPostBack="true" ID="Chk3D" />
                        </td>
                    </tr>
                   <tr class="tdbg">
                        <td class="tdbgleft">
                            图表类型：
                        </td>
                        <td class="tdbgleft">
                            <asp:DropDownList runat="server" ID="LisChartType" AutoPostBack="True" Width="100">
                                <asp:ListItem Value="Column" Text="柱状图" />
                                <asp:ListItem Value="Line" Text="折线图" />
                                <asp:ListItem Value="Spline" Text="曲线图" />
                                <asp:ListItem Value="Point" Text="点状图" />
                                <asp:ListItem Value="Bar" Text="条形图" />
                                <asp:ListItem Value="Area" Text="区域图" />
                                <asp:ListItem Value="Pie" Text="饼图" />
                                <asp:ListItem Value="Pyramid" Text="金字塔图" />
                            </asp:DropDownList>
                        </td>
                        <td class="tdbgleft">
                            
                        </td>
                        <td class="tdbgleft">
                            
                        </td>
                    </tr>
                </table>
    <asp:Repeater ID="RptShowCountData" runat="server" DataSourceID="OdsShowCountData"
        OnItemDataBound="RptShowCountData_ItemDataBound">
        <ItemTemplate>
            <asp:Label ID="LblQuestionContent" runat="server" Text="LblQuestionContent" />
            <asp:HyperLink ID="LnkListAnswer" runat="server">LnkListAnswer</asp:HyperLink><br />
            <asp:PlaceHolder ID="PlhQuestion" runat="server" />
            <br />
        </ItemTemplate>
    </asp:Repeater>
    &nbsp; &nbsp;&nbsp; &nbsp;
    <asp:ObjectDataSource ID="OdsShowCountData" runat="server" SelectMethod="GetFieldList"
        TypeName="PowerEasy.Module.General.BusinessLogic.Survey.SurveyField">
        <SelectParameters>
            <asp:QueryStringParameter DefaultValue="0" Name="surveyId" QueryStringField="SurveyID"
                Type="Int32" />
        </SelectParameters>
    </asp:ObjectDataSource>
    <asp:HiddenField ID="HdnSurveyId" runat="server" />
    <asp:HiddenField ID="HdnShowType" runat="server" />
    <div style="width: 100%; text-align: center">
        <input id="btnReturn" type="button" class="inputbutton" value="返回上一页" onclick="JavaScript:history.go(-1);" /></div></div>
       <asp:Chart ID="Chart1" runat="server" Visible="false">
    
</asp:Chart> 
</asp:Content>

