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

Function getAxisRawValue

libs/echarts/echarts.simple.js:37888–37893  ·  view source on GitHub ↗
(axis, value)

Source from the content-addressed store, hash-verified

37886}
37887
37888function getAxisRawValue(axis, value) {
37889 // In category axis with data zoom, tick is not the original
37890 // index of axis.data. So tick should not be exposed to user
37891 // in category axis.
37892 return axis.type === 'category' ? axis.scale.getLabel(value) : value;
37893}
37894
37895/**
37896 * @param {module:echarts/coord/Axis} axis

Callers 1

makeLabelFormatterFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected