MCPcopy Index your code
hub / github.com/microsoft/SandDance / isDiscreteRange

Function isDiscreteRange

docs/app/js/sanddance-app.js:127250–127250  ·  view source on GitHub ↗
(scale15)

Source from the content-addressed store, hash-verified

127248 return values;
127249}
127250const isDiscreteRange = (scale15)=>symbols[scale15.type] || scale15.bins;
127251function labelFormat(locale, scale16, count, type, specifier, formatType, noSkip) {
127252 const format2 = formats[scale16.type] && formatType !== Time && formatType !== UTC ? thresholdFormat(locale, scale16, specifier) : tickFormat(locale, scale16, count, specifier, formatType, noSkip);
127253 return type === SymbolLegend && isDiscreteRange(scale16) ? formatRange(format2) : type === DiscreteLegend ? formatDiscrete(format2) : formatPoint(format2);

Callers 1

labelFormatFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected