timeline

package
v0.6.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 12, 2023 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DefaultRes         int64 = 1500
	DefaultMinInterval       = time.Second * 10
)

Functions

func CalcPointInterval

func CalcPointInterval(fromMs int64, untilMs int64) float64

CalcPointInterval calculates the appropriate interval between each point (aka step) Note that its main usage is with SelectSeries, therefore its * inputs are in ms * output is in seconds

func New

func New(series *v1.Series, startMs int64, endMs int64, durationDeltaSec int64) *flamebearer.FlamebearerTimelineV1

New generates a FlamebearerTimeline, backfilling any missing data with zeros It assumes: * Ordered * startMs is earlier than the first series value * endMs is after the last series value

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL