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.
35 lines
1.4 KiB
35 lines
1.4 KiB
4 years ago
|
<%@ 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/GetEchartDataScatter1", new string[] { "scatter", }, "myEChart")%>
|
||
|
|
||
|
<%--皮肤切换下拉列表--%>
|
||
|
<%=QMFrameWork.WebUI.QMEChart.QMEChartHelper.CreateStyleSelector("themeselectscatter1", "myEChart")%>
|
||
|
<%--刷新按钮--%>
|
||
|
<%=QMFrameWork.WebUI.QMEChart.QMEChartHelper.CreateRefresh("refreshEChartscatter1", "myEChart")%>
|
||
|
|
||
|
<script type="text/javascript">
|
||
|
function refreshEChartscatter1() {
|
||
|
var ps = [];
|
||
|
var param = {};
|
||
|
param.key = "name";
|
||
|
param.value = "aaa";
|
||
|
ps.push(param);
|
||
|
GetEchartData("/EChartExample/GetEchartDataScatter1", myEChart, ps);
|
||
|
}
|
||
|
</script>
|
||
|
|
||
|
</asp:Content>
|
||
|
|
||
|
<asp:Content ID="Content3" ContentPlaceHolderID="ToolContent" runat="server">
|
||
|
|
||
|
</asp:Content>
|