0byt3m1n1
Path:
C:
/
wamp64
/
www
/
cpms_new
/
gentelella-1.3.0
/
vendors
/
echarts
/
src
/
model
/
mixin
/
[
Home
]
File: lineStyle.js
define(function (require) { var getLineStyle = require('./makeStyleMapper')( [ ['lineWidth', 'width'], ['stroke', 'color'], ['opacity'], ['shadowBlur'], ['shadowOffsetX'], ['shadowOffsetY'], ['shadowColor'] ] ); return { getLineStyle: function (excludes) { var style = getLineStyle.call(this, excludes); var lineDash = this.getLineDash(); lineDash && (style.lineDash = lineDash); return style; }, getLineDash: function () { var lineType = this.get('type'); return (lineType === 'solid' || lineType == null) ? null : (lineType === 'dashed' ? [5, 5] : [1, 1]); } }; });