(textStyle)
| 189 | }); |
| 190 | |
| 191 | function compatTextStyle(textStyle) { |
| 192 | textStyle && |
| 193 | echarts.util.each(compats, function (key) { |
| 194 | if (textStyle.hasOwnProperty(key)) { |
| 195 | textStyle['text' + echarts.format.capitalFirst(key)] = textStyle[key]; |
| 196 | } |
| 197 | }); |
| 198 | } |
| 199 | }); |
| 200 | |
| 201 | function adjustRectAspect(gridRect, aspect) { |