MCPcopy Create free account
hub / github.com/feiyu563/PrometheusAlert / nonSkipped

Function nonSkipped

static/plugins/chart.js/Chart.js:11317–11327  ·  view source on GitHub ↗
(ticksToFilter)

Source from the content-addressed store, hash-verified

11315}
11316
11317function nonSkipped(ticksToFilter) {
11318 var filtered = [];
11319 var item, index, len;
11320 for (index = 0, len = ticksToFilter.length; index < len; ++index) {
11321 item = ticksToFilter[index];
11322 if (typeof item._index !== 'undefined') {
11323 filtered.push(item);
11324 }
11325 }
11326 return filtered;
11327}
11328
11329function getEvenSpacing(arr) {
11330 var len = arr.length;

Callers 1

Chart.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected