MCPcopy
hub / github.com/dc-js/dc.js / xAxisMin

Method xAxisMin

src/base/stack-mixin.js:205–208  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

203 }
204
205 xAxisMin () {
206 const m = min(this._flattenStack(), pluck('x'));
207 return utils.subtract(m, this.xAxisPadding(), this.xAxisPaddingUnit());
208 }
209
210 xAxisMax () {
211 const m = max(this._flattenStack(), pluck('x'));

Callers 1

bar-chart-spec.jsFile · 0.45

Calls 4

_flattenStackMethod · 0.95
pluckFunction · 0.90
xAxisPaddingMethod · 0.80
xAxisPaddingUnitMethod · 0.80

Tested by

no test coverage detected