MCPcopy
hub / github.com/apache/echarts / getScaleLinearSpanEffective

Function getScaleLinearSpanEffective

src/scale/scaleMapper.ts:369–372  ·  view source on GitHub ↗
(mapper: ScaleMapper)

Source from the content-addressed store, hash-verified

367}
368
369export function getScaleLinearSpanEffective(mapper: ScaleMapper): number {
370 const extent = mapper.getExtentUnsafe(SCALE_EXTENT_KIND_EFFECTIVE, SCALE_MAPPER_DEPTH_INNERMOST);
371 return extent[1] - extent[0];
372}
373
374// ------ END: Scale Mapper Core ------
375

Callers 4

getTicksMethod · 0.90
calcNiceForTimeScaleFunction · 0.90
logScaleCalcNiceTicksFunction · 0.90

Calls 1

getExtentUnsafeMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…