解决方案 »
- 我是新手,想在网页中调用另外一个网页,如何实现??
- 用Javascript调用css的类
- 请问开发电子地图,需要学习哪些知识?
- jquery 如何获取父节点A标签的title 属性呢
- JQUERY 如何选择某个ID为AAA的DIV下的所有INPUT类型为TEXT的集合?
- 请教高手一个问题!
- FF 和IE 显示body.clientheight 等属性的区别,求教
- 十万火急---关于限制输入空格处理(日文输入法)在线等~
- ++++++++++++++++请问大家 怎么利用javascript实现数字键盘的输入!由于没有分了 ,再此向各位朋友道谢了+++++++++++++++++
- 求高手协助
- 在网上找了两段代码,如何整理在一起
- 如何web调用大华网络摄像头
chart = jQuery('#chartView').highcharts('StockChart', {
chart: {
type: 'column'///////////////////////,
},
credits: {
enabled: false
},
rangeSelector: { selected: 0, //设置zoom默认选项
buttons: [ //设置zoom 显示选项
{
type: 'minute',
count: 780,
text: '12h'
}, {
type: 'day',
count: 1,
text: '1d'
}, {
type: 'day',
count: 3,
text: '3d'
}, {
type: 'week',
count: 1,
text: '1w'
}, {
type: 'month',
count: 1,
text: '1m'
}, {
type: 'month',
count: 3,
text: '3m'
}, {
type: 'month',
count: 6,
text: '6m'
}, {
type: 'year',
count: 1,
text: '1y'
}, {
type: 'all',
text: 'All'
}], inputEnabled: false// $('#container').width() > 760 //输入开启设置
},
xAxis: { //x轴
events: { //轴事件处理
setExtremes: function (e) { //设定最高和最低
//alert((e.max-e.min)/1000/3600/24);
}
},
type: "datetime",
tickPixelInterval: 150, //像素间隔
ordinal: false,
dateTimeLabelFormats: { //自动调整日期格式
second: '%Y年%m月%d日 %H:%M:%S',
minute: '%Y年%m月%d日 %H:%M',
hour: '%Y年%m月%d日 %H:%M',
day: '<strong>%Y年%m月%d日</strong>',
week: '%Y年%m月%d日',
month: '<strong>%Y年%m</strong>',
year: '<strong>%Y</strong>'
}
},
yAxis: {
showLastLabel: true
}, plotOptions: {
line: {
dataGrouping: {
enabled: false //关闭数据分组
}
}
},
tooltip: {
pointFormat: '<span style="color:{series.color}">{series.name}</span>: <b>{point.y}</b> <br/>',
valueDecimals: 2
},
series: seriesOptions///////////////////////,
});
}