MCPcopy Create free account
hub / github.com/microsoft/SandDance / labelValues

Function labelValues

docs/app/js/sanddance-app.js:127228–127230  ·  view source on GitHub ↗
(scale13, count)

Source from the content-addressed store, hash-verified

127226 [Quantize]: "domain"
127227};
127228function labelValues(scale13, count) {
127229 return scale13.bins ? binValues(scale13.bins) : scale13.type === Log ? tickLog(scale13, count, true) : symbols[scale13.type] ? thresholdValues(scale13[symbols[scale13.type]]()) : tickValues(scale13, count);
127230}
127231function thresholdFormat(locale, scale14, specifier) {
127232 const _ = scale14[formats[scale14.type]](), n = _.length;
127233 let d = n > 1 ? _[1] - _[0] : _[0], i;

Callers 1

domainCaptionFunction · 0.70

Calls 4

binValuesFunction · 0.70
tickLogFunction · 0.70
thresholdValuesFunction · 0.70
tickValuesFunction · 0.70

Tested by

no test coverage detected