highcharts 阶段性变色
来源:互联网 发布:二级建造师 知乎 编辑:程序博客网 时间:2024/05/17 07:44
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>阶段性变色</title>
<script type="text/javascript" src="http://cdn.hcharts.cn/jquery/jquery-1.8.3.min.js"></script>
<script src="http://cdn.hcharts.cn/highcharts/highcharts.js"></script>
<script src="http://cdn.hcharts.cn/highcharts/modules/exporting.js"></script>
<script type="text/javascript">
$(function () {
$('#container').highcharts({
title: {
text: '阶段性变色',
x: -20 //center
},
subtitle: {
text: 'Source: WorldClimate.com',
x: -20
},
xAxis: {
categories: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun',
'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']
},
yAxis: {
title: {
text: 'Temperature (°C)'
},
plotLines: [{
value: 0,
width: 1,
color: '#808080'
}]
},
tooltip: {
valueSuffix: '°C'
},
legend: {
layout: 'vertical',
align: 'right',
verticalAlign: 'middle',
borderWidth: 0
},
series: [
{
name: 'London',
data: [-0.9, 0.6, 3.5, 8.4, 13.5, 17.0, 18.6, 17.9, 14.3, 9.0, 3.9, 1.0],
zones: [{
value: 0,
color: 'yellow',
dashStyle: 'dot'
},
{
value: 10,
color: '#ecf8ff'
},
{
value: 20,
color: '#fff5ec'
},
{
color: 'red'
},
]
}
]
});
});
</script>
</head>
<body>
<div id="container" style="min-width: 310px; height: 400px; margin: 0 auto"></div>
</body>
</html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>阶段性变色</title>
<script type="text/javascript" src="http://cdn.hcharts.cn/jquery/jquery-1.8.3.min.js"></script>
<script src="http://cdn.hcharts.cn/highcharts/highcharts.js"></script>
<script src="http://cdn.hcharts.cn/highcharts/modules/exporting.js"></script>
<script type="text/javascript">
$(function () {
$('#container').highcharts({
title: {
text: '阶段性变色',
x: -20 //center
},
subtitle: {
text: 'Source: WorldClimate.com',
x: -20
},
xAxis: {
categories: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun',
'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']
},
yAxis: {
title: {
text: 'Temperature (°C)'
},
plotLines: [{
value: 0,
width: 1,
color: '#808080'
}]
},
tooltip: {
valueSuffix: '°C'
},
legend: {
layout: 'vertical',
align: 'right',
verticalAlign: 'middle',
borderWidth: 0
},
series: [
{
name: 'London',
data: [-0.9, 0.6, 3.5, 8.4, 13.5, 17.0, 18.6, 17.9, 14.3, 9.0, 3.9, 1.0],
zones: [{
value: 0,
color: 'yellow',
dashStyle: 'dot'
},
{
value: 10,
color: '#ecf8ff'
},
{
value: 20,
color: '#fff5ec'
},
{
color: 'red'
},
]
}
]
});
});
</script>
</head>
<body>
<div id="container" style="min-width: 310px; height: 400px; margin: 0 auto"></div>
</body>
</html>
阅读全文
0 0
- highcharts 阶段性变色
- highcharts
- HighCharts
- highcharts
- Highcharts
- Highcharts
- HighCharts
- Highcharts
- highcharts
- Highcharts
- Highcharts
- highcharts
- highcharts
- Highcharts
- Highcharts
- Highcharts
- Highcharts
- highcharts
- linux上搭建高版本git服务器
- ScrollView嵌套ListView多种滚动兼容问题的解决
- 阿里云VPN网关常见问题与解决方法
- 在python3中,绘制地图,并根据人口数量绘制不同颜色
- 20171212
- highcharts 阶段性变色
- 图解MySQL安装成功验证步骤
- net-snmp开发过程整理-配置文件详解
- ftp quartz angular
- word2vec简介
- 战斗系统
- PIL 过程异常
- 求掼蛋同花顺代码(Lua)
- RNN(LSTM)网络可以使用那些正则化方法