You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
1.3 KiB
33 lines
1.3 KiB
<%@ 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/GetEchartDataBar3", new string[] { "line", "bar" }, "myEChart")%>
|
|
|
|
<%--皮肤切换下拉列表--%>
|
|
<%=QMFrameWork.WebUI.QMEChart.QMEChartHelper.CreateStyleSelector("themeselectbar3", "myEChart")%>
|
|
<%--刷新按钮--%>
|
|
<%=QMFrameWork.WebUI.QMEChart.QMEChartHelper.CreateRefresh("refreshEChartbar3", "myEChart")%>
|
|
|
|
<script type="text/javascript">
|
|
function refreshEChartbar3() {
|
|
var ps = [];
|
|
var param = {};
|
|
param.key = "name";
|
|
param.value = "aaa";
|
|
ps.push(param);
|
|
GetEchartData("/EChartExample/GetEchartDataBar3", myEChart, ps);
|
|
}
|
|
</script>
|
|
|
|
</asp:Content>
|
|
|
|
<asp:Content ID="Content3" ContentPlaceHolderID="ToolContent" runat="server">
|
|
|
|
</asp:Content>
|
|
|