e-charts-builder-pro
Advanced tools
Comparing version 1.1.1 to 1.1.2
'use strict'; | ||
require('echarts/lib/component/axisPointer'); | ||
var clone = require('lodash/defaultsDeep'); | ||
@@ -4,0 +6,0 @@ |
'use strict'; | ||
require('echarts/lib/component/dataZoom'); | ||
var clone = require('lodash/defaultsDeep'); | ||
@@ -4,0 +6,0 @@ |
'use strict'; | ||
require('echarts/lib/component/grid'); | ||
var clone = require('lodash/defaultsDeep'); | ||
@@ -7,5 +9,8 @@ | ||
return clone(grid, { | ||
borderColor: '#193D37', | ||
show: true | ||
top: '15%', | ||
left: '3%', | ||
right: '4%', | ||
bottom: '15%', | ||
containLabel: true | ||
}); | ||
}; |
'use strict'; | ||
var echarts = require('echarts'); | ||
var echarts = require('echarts/lib/echarts'); | ||
@@ -5,0 +5,0 @@ var dataZoom = require('./dataZoom'); |
'use strict'; | ||
require('echarts/lib/component/legend'); | ||
var clone = require('lodash/defaultsDeep'); | ||
@@ -7,2 +9,5 @@ | ||
return clone(legend, { | ||
bottom: '5%', | ||
itemWidth: 8, | ||
itemHeight: 8, | ||
textStyle: { | ||
@@ -9,0 +14,0 @@ color: '#FFEBC8', |
{ | ||
"name": "e-charts-builder-pro", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"description": "echarts builder", | ||
"main": "./dist/index.js", | ||
"main": "index.js", | ||
"keywords": [ | ||
@@ -7,0 +7,0 @@ "echarts" |
'use strict'; | ||
require('echarts/lib/chart/bar'); | ||
var clone = require('lodash/defaultsDeep'); | ||
@@ -4,0 +6,0 @@ |
'use strict'; | ||
require('echarts/lib/chart/candlestick'); | ||
var clone = require('lodash/defaultsDeep'); | ||
@@ -4,0 +6,0 @@ |
@@ -6,2 +6,3 @@ 'use strict'; | ||
exports.pie = require('./pie'); | ||
exports.candlestick = require('./candlestick'); | ||
exports.candlestick = require('./candlestick'); | ||
exports.scatter = require('./scatter'); |
'use strict'; | ||
require('echarts/lib/chart/line'); | ||
var clone = require('lodash/defaultsDeep'); | ||
@@ -8,4 +10,2 @@ | ||
type: 'line', | ||
itemStyle: {// width: 1 | ||
}, | ||
lineStyle: { | ||
@@ -12,0 +12,0 @@ width: 1 |
'use strict'; | ||
require('echarts/lib/chart/pie'); | ||
var clone = require('lodash/defaultsDeep'); | ||
@@ -4,0 +6,0 @@ |
'use strict'; | ||
require('echarts/lib/component/title'); | ||
var clone = require('lodash/defaultsDeep'); | ||
@@ -4,0 +6,0 @@ |
'use strict'; | ||
require('echarts/lib/component/tooltip'); | ||
var clone = require('lodash/defaultsDeep'); | ||
@@ -9,4 +11,10 @@ | ||
trigger: 'axis', | ||
backgroundColor: '#193D37', | ||
padding: [4, 10], | ||
backgroundColor: '#0C0F0E', | ||
borderColor: '#0A2420', | ||
borderWidth: 1, | ||
axisPointer: { | ||
lineStyle: { | ||
color: '#136C5E' | ||
} | ||
}, | ||
textStyle: { | ||
@@ -16,4 +24,4 @@ color: '#FFEBC8', | ||
}, | ||
extraCssText: 'box-shadow:0 0 4px 0 rgba(0,0,0,0.50);border-radius: 2px;border: 1px solid #308376;' | ||
extraCssText: 'box-shadow:0 0 4px 0 rgba(0,0,0,0.50);border-radius: 2px;border: 1px solid #0A2420;' | ||
}); | ||
}; |
18
xAxis.js
@@ -8,3 +8,2 @@ 'use strict'; | ||
type: 'category', | ||
offset: 1, | ||
axisLabel: { | ||
@@ -14,24 +13,19 @@ show: true, | ||
color: '#8F9598', | ||
margin: 4 | ||
margin: 6 | ||
}, | ||
axisLine: { | ||
lineStyle: { | ||
color: '#193D37' | ||
} | ||
show: false | ||
}, | ||
axisTick: { | ||
show: false | ||
}, | ||
splitLine: { | ||
show: true, | ||
lineStyle: { | ||
color: '#193D37', | ||
color: '#1E2423', | ||
width: 1, | ||
type: 'solid' | ||
} | ||
}, | ||
splitArea: { | ||
show: true, | ||
areaStyle: { | ||
color: ['#121A19', '#172422'] | ||
} | ||
} | ||
}); | ||
}; |
11
yAxis.js
@@ -12,13 +12,14 @@ 'use strict'; | ||
fontSize: 10, | ||
margin: 4 | ||
margin: 6 | ||
}, | ||
axisLine: { | ||
lineStyle: { | ||
color: '#193D37' | ||
} | ||
show: false | ||
}, | ||
axisTick: { | ||
show: false | ||
}, | ||
splitLine: { | ||
show: true, | ||
lineStyle: { | ||
color: '#193D37', | ||
color: '#1E2423', | ||
width: 1, | ||
@@ -25,0 +26,0 @@ type: 'solid' |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13370
19
414