highcharts设置Y轴范围及根据Y轴范围设置不同颜色
2014-11-13 17:12
357 查看
yAxis : { title : { text : '数据' }, plotLines : [ { value : 0, width : 1, color : '#808080' } ], min: 30, //最小 tickInterval: 10, //步长 max:150,//最大 // 不同Y轴范围设置不同颜色 begin plotBands: [{ from: 30, to: 60, color: 'rgba(168, 255, 213, 0.3)', label: { text: '偏低', style: { color: '#606060' } } }, { from: 60, to: 100, color: 'rgba(68, 70, 213, 0.3)', label: { text: '正常', style: { color: '#606060' } } }, { from: 100, to: 150, color: 'rgba(255, 97, 0, 0.3)', label: { text: '偏高', style: { color: '#606060' } } }]
// 不同Y轴范围设置不同颜色 end
},
相关文章推荐
- TcxTreeList根据level的不同设置将node设置不同的字体颜色等(2012-02-10 15:28:21)转载
- listctrl根据不同的内容设置不同的颜色
- 关于dev的Gridview控件的行数据的颜色控制,根据不同的值设置不同颜色
- aspxGridview 根据单元格值得不同,设置单元格字体的颜色
- highcharts column设置不同的颜色
- ext js 4.0 grid表格根据列值的不同给行设置不同的背景颜色
- highcharts:根据Y的数值范围,动态改变图形的填充颜色
- 加载数据后,根据列值设置不同的行颜色
- MpAndroidChart如何根据Y轴值设置不同的颜色
- 关于dev的Gridview控件的行数据的颜色控制,根据不同的值设置不同颜色
- listctrl根据不同的内容设置不同的颜色
- SecureCRT背景及根据不同文件类型颜色的设置
- 根据范围给UILabel设置颜色或字体,行间距
- 根据网络请求数据,给子条目设置背景颜色不同
- C# WinForm (笨方法)根据不同的样式配置 设置窗体相关控件的背景 以改变窗体风格
- cxGrid 设置斑马线 根据记录内容更改字体颜色
- cxdbgrid根据字段值设置颜色
- Visual Studio 设置:包括根据不同类型的开发活动对集成开发环境 (IDE) 所做的各种自定义设置
- cxGrid 设置斑马线 根据记录内容更改字体颜色
- (转)Reporting Service技巧(一):表格中奇偶行不同颜色的设置