MCPcopy Index your code
hub / github.com/apache/echarts / quantize

Function quantize

test/data/map/encode.js:82–84  ·  view source on GitHub ↗
(val)

Source from the content-addressed store, hash-verified

80}
81
82function quantize(val) {
83 return Math.ceil(val * 1024);
84}
85
86function encodePoint(val, prev){
87 // Quantization

Callers 2

encodeRingFunction · 0.85
encodePointFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…