template

package
v0.0.0-...-d1fb2f6 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MonthLabel

func MonthLabel(c *chart.Chart, l label, userDefaults ...chart.Style) chart.Renderable

func TimeSeriesChart

func TimeSeriesChart(series TimeSeries) templ.Component

func YearLabel

func YearLabel(c *chart.Chart, l label, userDefaults ...chart.Style) chart.Renderable

Types

type StartEndWeek

type StartEndWeek struct {
	Start string
	End   string
}

type SwarmSeries

type SwarmSeries struct {
	Title     string
	DotColors []drawing.Color
	XValues   []float64
	YValues   []float64
	Events    []data.Event
}

type TimeSeries

type TimeSeries struct {
	Title   string
	XValues []float64
	YValues []float64
	Weeks   []string
}

Jump to

Keyboard shortcuts

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