MCPcopy Create free account
hub / github.com/SuperMap/iClient-JavaScript / shouldShowAllLabels

Function shouldShowAllLabels

libs/echarts/echarts.simple.js:37970–37973  ·  view source on GitHub ↗

* Set `categoryInterval` as 0 implicitly indicates that * show all labels reguardless of overlap. * @param {Object} axis axisModel.axis * @return {boolean}

(axis)

Source from the content-addressed store, hash-verified

37968 * @return {boolean}
37969 */
37970function shouldShowAllLabels(axis) {
37971 return axis.type === 'category'
37972 && getOptionCategoryInterval(axis.getLabelModel()) === 0;
37973}
37974
37975/*
37976* Licensed to the Apache Software Foundation (ASF) under one

Callers 2

fixMinMaxLabelShowFunction · 0.70

Calls 1

Tested by

no test coverage detected