MCPcopy Index your code
hub / github.com/SuperMap/iClient-JavaScript / setTextStyle

Function setTextStyle

libs/echarts/echarts-en.simple.js:17563–17571  ·  view source on GitHub ↗

* Set basic textStyle properties. * See more info in `setTextStyleCommon`. * @param {Object|module:zrender/graphic/Style} textStyle * @param {module:echarts/model/Model} model * @param {Object} [specifiedTextStyle] Can be overrided by settings in model. * @param {Object} [opt] See `opt` of `set

(
    textStyle, textStyleModel, specifiedTextStyle, opt, isEmphasis
)

Source from the content-addressed store, hash-verified

17561 * @param {boolean} [isEmphasis]
17562 */
17563function setTextStyle(
17564 textStyle, textStyleModel, specifiedTextStyle, opt, isEmphasis
17565) {
17566 setTextStyleCommon(textStyle, textStyleModel, opt, isEmphasis);
17567 specifiedTextStyle && extend(textStyle, specifiedTextStyle);
17568 // textStyle.host && textStyle.host.dirty && textStyle.host.dirty(false);
17569
17570 return textStyle;
17571}
17572
17573/**
17574 * Set text option in the style.

Callers 3

setLabelStyleFunction · 0.70
buildAxisLabelFunction · 0.70

Calls 2

setTextStyleCommonFunction · 0.70
extendFunction · 0.70

Tested by

no test coverage detected