@easyv/config 1.2.4 → 1.2.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/label.js CHANGED
@@ -496,6 +496,9 @@ var axisLabel = function axisLabel() {
496
496
  }, {
497
497
  name: "2017-1-1",
498
498
  value: "YYYY-M-D"
499
+ }, {
500
+ name: "2017-01",
501
+ value: "YYYY-MM"
499
502
  }, {
500
503
  name: "2017-01-01",
501
504
  value: "YYYY-MM-DD"
package/lib/series.js CHANGED
@@ -332,19 +332,19 @@ var defaultLineSeries = {
332
332
  linear: {
333
333
  stops: [{
334
334
  offset: 0,
335
- color: '#fff'
335
+ color: 'rgba(255,255,255,0)'
336
336
  }, {
337
- offset: 50,
338
- color: '#ff0'
337
+ offset: 20,
338
+ color: 'rgba(255,255,255,0.3)'
339
339
  }, {
340
340
  offset: 100,
341
- color: '#f0f'
341
+ color: 'rgba(255,255,255,1)'
342
342
  }],
343
343
  angle: 30,
344
344
  opacity: 1
345
345
  }
346
346
  },
347
- length: 200,
347
+ length: 150,
348
348
  width: 2,
349
349
  unitStep: 1
350
350
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@easyv/config",
3
- "version": "1.2.4",
3
+ "version": "1.2.6",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/src/label.js CHANGED
@@ -469,6 +469,10 @@ export const axisLabel = ({
469
469
  name: "2017-1-1",
470
470
  value: "YYYY-M-D",
471
471
  },
472
+ {
473
+ name: "2017-01",
474
+ value: "YYYY-MM",
475
+ },
472
476
  {
473
477
  name: "2017-01-01",
474
478
  value: "YYYY-MM-DD",
package/src/series.js CHANGED
@@ -303,15 +303,15 @@ const defaultLineSeries = {
303
303
  pure: '#fff',
304
304
  linear: {
305
305
  stops: [
306
- { offset: 0, color: '#fff' },
307
- { offset: 50, color: '#ff0' },
308
- { offset: 100, color: '#f0f' },
306
+ { offset: 0, color: 'rgba(255,255,255,0)' },
307
+ { offset: 20, color: 'rgba(255,255,255,0.3)' },
308
+ { offset: 100, color: 'rgba(255,255,255,1)' }
309
309
  ],
310
310
  angle: 30,
311
311
  opacity: 1,
312
312
  },
313
313
  },
314
- length: 200,
314
+ length: 150,
315
315
  width: 2,
316
316
  unitStep: 1,
317
317
  },