<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/AppMaster.Master" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	标准环形图
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <!--图表配置-->
    <%=QMAPP.Common.Web.AppConfig.QMEChartPageConfig()%>
    <%--异步获取数据生成图表--%>
    <%=QMFrameWork.WebUI.QMEChart.QMEChartHelper.CreateEchart("echartID", "/EChartExample/GetEchartDataPie2", new string[] { "pie", "funnel" }, "myEChart")%>

    <%--皮肤切换下拉列表--%>
    <%=QMFrameWork.WebUI.QMEChart.QMEChartHelper.CreateStyleSelector("themeselectpie2", "myEChart")%>
    <%--刷新按钮--%>
    <%=QMFrameWork.WebUI.QMEChart.QMEChartHelper.CreateRefresh("refreshEChartpie2", "myEChart")%>    

        <script type="text/javascript">
            function refreshEChartpie2() {
                var ps = [];
                var param = {};
                param.key = "name";
                param.value = "aaa";
                ps.push(param);
                GetEchartData("/EChartExample/GetEchartDataPie2", myEChart, ps);
            }
        </script>     
        
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="ToolContent" runat="server">

</asp:Content>