MCPcopy
hub / github.com/chartjs/Chart.js / afterAutoSkip

Method afterAutoSkip

src/scales/scale.time.js:401–407  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

399 }
400
401 afterAutoSkip() {
402 // Offsets for bar charts need to be handled with the auto skipped
403 // ticks. Once ticks have been skipped, we re-compute the offsets.
404 if (this.options.offsetAfterAutoskip) {
405 this.initOffsets(this.ticks.map(tick => +tick.value));
406 }
407 }
408
409 /**
410 * Returns the start and end offsets from edges in the form of {start, end}

Callers

nothing calls this directly

Calls 1

initOffsetsMethod · 0.95

Tested by

no test coverage detected