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

Function createAxisLabels

libs/echarts/echarts.simple.js:38285–38290  ·  view source on GitHub ↗

* @param {module:echats/coord/Axis} axis * @return {Object} { * labels: [{ * formattedLabel: string, * rawLabel: string, * tickValue: number * }, ...], * labelCategoryInterval: number * }

(axis)

Source from the content-addressed store, hash-verified

38283 * }
38284 */
38285function createAxisLabels(axis) {
38286 // Only ordinal scale support tick interval
38287 return axis.type === 'category'
38288 ? makeCategoryLabels(axis)
38289 : makeRealNumberLabels(axis);
38290}
38291
38292/**
38293 * @param {module:echats/coord/Axis} axis

Callers 1

echarts.simple.jsFile · 0.70

Calls 2

makeCategoryLabelsFunction · 0.70
makeRealNumberLabelsFunction · 0.70

Tested by

no test coverage detected