MCPcopy Create free account
hub / github.com/ajstarks/dchart / cyrange

Function cyrange

dchart.go:335–341  ·  view source on GitHub ↗

cyrange computes "optimal" min, max, step for axis labels rounding the max to the appropriate number, given the number of labels

(min, max float64, n int)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

yaxisMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected