MCPcopy
hub / github.com/nhn/tui.chart / hasStepSize

Function hasStepSize

apps/chart/src/scale/coordinateScaleCalculator.ts:109–111  ·  view source on GitHub ↗
(stepSize: number | 'auto')

Source from the content-addressed store, hash-verified

107}
108
109function hasStepSize(stepSize: number | 'auto'): stepSize is number {
110 return isNumber(stepSize);
111}
112
113function getNormalizedScale(scaleData: ScaleData, scale: Required<Scale>): ScaleData {
114 const stepSize = hasStepSize(scale.stepSize)

Callers 2

getNormalizedScaleFunction · 0.85
getRoughScaleFunction · 0.85

Calls 1

isNumberFunction · 0.90

Tested by

no test coverage detected