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

Function getOptionCategoryInterval

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

* @param {module:echarts/src/model/Model} model axisLabelModel or axisTickModel * @return {number|String} Can be null|'auto'|number|function

(model)

Source from the content-addressed store, hash-verified

37957 * @return {number|String} Can be null|'auto'|number|function
37958 */
37959function getOptionCategoryInterval(model) {
37960 var interval = model.get('interval');
37961 return interval == null ? 'auto' : interval;
37962}
37963
37964/**
37965 * Set `categoryInterval` as 0 implicitly indicates that

Callers 3

shouldShowAllLabelsFunction · 0.70
makeCategoryTicksFunction · 0.70

Calls 1

getMethod · 0.45

Tested by

no test coverage detected