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

Function makeCategoryLabels

libs/echarts/echarts.simple.js:38307–38314  ·  view source on GitHub ↗
(axis)

Source from the content-addressed store, hash-verified

38305}
38306
38307function makeCategoryLabels(axis) {
38308 var labelModel = axis.getLabelModel();
38309 var result = makeCategoryLabelsActually(axis, labelModel);
38310
38311 return (!labelModel.get('show') || axis.scale.isBlank())
38312 ? {labels: [], labelCategoryInterval: result.labelCategoryInterval}
38313 : result;
38314}
38315
38316function makeCategoryLabelsActually(axis, labelModel) {
38317 var labelsCache = getListCache(axis, 'labels');

Callers 1

createAxisLabelsFunction · 0.70

Calls 2

getMethod · 0.45

Tested by

no test coverage detected