SheQu/Content/B-UI/BJUI/plugins/echarts/theme/helianthus.js
(开头部分) 9KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
define(function() {
var theme = {
backgroundColor: '#F2F2E6',
// 默认色板
color: [
'#44B7D3','#E42B6D','#F4E24E','#FE9616','#8AED35',
'#ff69b4','#ba55d3','#cd5c5c','#ffa500','#40e0d0',
'#E95569','#ff6347','#7b68ee','#00fa9a','#ffd700',
'#6699FF','#ff6666','#3cb371','#b8860b','#30e0e0'
],
// 图表标题
title: {
x: 'left', // 水平安放位置,默认为左对齐,可选为:
// 'center' ¦ 'left' ¦ 'right'
// ¦ {number}(x坐标,单位px)
y: 'top', // 垂直安放位置,默认为全图顶端,可选为:
// 'top' ¦ 'bottom' ¦ 'center'
// ¦ {number}(y坐标,单位px)
//textAlign: null // 水平对齐方式,默认根据x设置自动调整
backgroundColor: '#F2F2E6',
borderColor: '#ccc', // 标题边框颜色
borderWidth: 0, // 标题边框线宽,单位px,默认为0(无边框)
padding: 5, // 标题内边距,单位px,默认各方向内边距为5,
// 接受数组分别设定上右下左边距,同css
itemGap: 10, // 主副标题纵向间隔,单位px,默认为10,
textStyle: {
fontSize: 18,
fontWeight: 'bolder',
color: '#8A826D' // 主标题文字颜色
},
subtextStyle: {
color: '#E877A3' // 副标题文字颜色
}
},
// 图例
legend: {
itemGap: 8
},
// 值域
dataRange: {
x:'right',
y:'center',
itemWidth: 5,
itemHeight:25,
color:['#E42B6D','#F9AD96'],
text:['高','低'], // 文本,默认为数值文本
textStyle: {
color: '#8A826D' // 值域文字颜色
}
},
toolbox: {
color : ['#E95569','#E95569','#E95569','#E95569'],
effectiveColor : '#ff4500',
itemGap: 8
},
后面还有 274 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读 AI
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
