日期:2014-05-16 浏览次数:20378 次
Hashtable ht = new Hashtable();
//ht.Add("name", "hello_world");
//ht.Add("type", "line");
//ht.Add("threshold", null);
ht.Add("data", ds.Tables[0]);
string strJson = Newtonsoft.Json.JsonConvert.SerializeObject(ht);
Response.Clear();
Response.ContentEncoding = Encoding.UTF8;
Response.ContentType = "application/json";
Response.Write(strJson);
Response.Flush();
Response.End();
$.post("HistoryCurce.aspx", { id: 4, spot: checkedspot }, function (data) {
// alert(series1);
$('#container').highcharts('StockChart', {
chart: {
type: 'line',
marginRight: 130,
marginBottom: 25
},
rangeSelector: {
selected: 1
},
title: {
&n