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

Function normalizeSymbolSize

src/util/symbol.ts:390–395  ·  view source on GitHub ↗
(symbolSize: number | number[])

Source from the content-addressed store, hash-verified

388}
389
390export function normalizeSymbolSize(symbolSize: number | number[]): [number, number] {
391 if (!isArray(symbolSize)) {
392 symbolSize = [+symbolSize, +symbolSize];
393 }
394 return [symbolSize[0] || 0, symbolSize[1] || 0];
395}
396
397export function normalizeSymbolOffset(
398 symbolOffset: SymbolOptionMixin['symbolOffset'],

Callers 3

updateDataMethod · 0.90
getSymbolSizeMethod · 0.90
giveSymbolFunction · 0.90

Calls 1

isArrayFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…