MCPcopy Create free account
hub / github.com/PatMartin/Dex / dateAxisLabelFormatter

Function dateAxisLabelFormatter

javascript/dygraph/latest/dygraph.js:6323–6348  ·  view source on GitHub ↗

* Convert a JS date to a string appropriate to display on an axis that * is displaying values at the stated granularity. This respects the * labelsUTC option. * @param {Date} date The date to format * @param {number} granularity One of the Dygraph granularity constants * @param {Dygraph} opts A

(date, granularity, opts)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 3

zeropadFunction · 0.85
hmsString_Function · 0.85
getDateMethod · 0.45

Tested by

no test coverage detected