這一定是一個愚蠢的問題,但我有點卡在它。我需要使用c#爲web應用程序在mschart上顯示6000多條記錄。但他的問題是它沒有空格顯示,但這是不可接受的,因爲我想看到每個recors單獨的列。我通過提供多種解決方案瀏覽網上但這並不適用於我的問題,我試過,mschart放大和滾動
//Set automatic zooming
chart1.ChartAreas["Default"].AxisX.ScaleView.Zoomable = true;
chart1.ChartAreas["Default"].AxisY.ScaleView.Zoomable = true;
// Set automatic scrolling
chart1.ChartAreas["Default"].CursorX.AutoScroll = true;
chart1.ChartAreas["Default"].CursorY.AutoScroll = true;
但AxisX,AxisY命令給出了一個錯誤,指出不可用。請幫助我,我盡我所能,但它不工作。我甚至試過,
http://nuget.org/packages/MSChartExtension
儘管它已經是Windows的形式,但沒有luck..please幫助我..我非常感激。 :)
編輯:這是我想出了reference..but它不顯示任何內容:(我在這是一個小白後,請幫助:)代碼
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org /TR/xhtml1/DTD/xhtml1-transitional.dtd">
<link rel="stylesheet" type="text/css" href="jquery.jqplot.css" />
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<div>
</div>
<div id="chartdiv" style="height:400px;width:300px; ">
<!--[if lt IE 9]><script language="javascript" type="text/javascript" src="excanvas.js"></script><![endif]-->
<script language="javascript" type="text/javascript" src="jquery.min.js"></script>
<script language="javascript" type="text/javascript" src="jquery.jqplot.min.js"></script>
<script language="javascript" type="text/javascript">
$.jqplot('chartdiv', [[[1, 2], [3, 5.12], [5, 13.1], [7, 33.6], [9, 85.9], [11, 219.9]]]);
</script>
</div>
</form>
</body>
</html>
,我把所有的javascripts,我從這裏下載到我的項目文件夾,這是, C:\ Users \ DELL \ Documents \ Visual Studio 2010 \ WebSites \ WebSite1 ..請糾正我,如果我錯了
好... yeaaa..i我仍然在development..thank的開頭你很much..i將檢查了這一點:) –
hey..i在接過來一看jqPlot n ts很酷..b我嘗試給出的例子後,我試着給我的網頁添加任何東西。可以請你在這方面提供幫助...任何使用asp.net或鏈接的示例代碼都非常棒:) –
只是爲了讓我開始創建圖:) –