MCPcopy
hub / github.com/ecomfe/echarts-wordcloud / compatTextStyle

Function compatTextStyle

src/wordCloud.js:191–198  ·  view source on GitHub ↗
(textStyle)

Source from the content-addressed store, hash-verified

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
201function adjustRectAspect(gridRect, aspect) {

Callers 1

wordCloud.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected