MCPcopy Index your code
hub / github.com/gonum/plot / TimeTicks

Struct TimeTicks

axis.go:631–643  ·  view source on GitHub ↗

TimeTicks is suitable for axes representing time values.

Source from the content-addressed store, hash-verified

629
630// TimeTicks is suitable for axes representing time values.
631type TimeTicks struct {
632 // Ticker is used to generate a set of ticks.
633 // If nil, DefaultTicks will be used.
634 Ticker Ticker
635
636 // Format is the textual representation of the time value.
637 // If empty, time.RFC3339 will be used
638 Format string
639
640 // Time takes a float64 value and converts it into a time.Time.
641 // If nil, UTCUnixTime is used.
642 Time func(t float64) time.Time
643}
644
645var _ Ticker = TimeTicks{}
646

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected