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

Function getDimensionTypeByAxis

libs/echarts/echarts.simple.js:29846–29852  ·  view source on GitHub ↗
(axisType)

Source from the content-addressed store, hash-verified

29844}
29845
29846function getDimensionTypeByAxis(axisType) {
29847 return axisType === 'category'
29848 ? 'ordinal'
29849 : axisType === 'time'
29850 ? 'time'
29851 : 'float';
29852}
29853
29854function mayLabelDimType(dimType) {
29855 // In most cases, ordinal and time do not suitable for label.

Callers 1

createListFromArrayFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected