wxplot

package
v0.0.0-...-c0c0658 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2017 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PlotUtil

type PlotUtil struct {
	// contains filtered or unexported fields
}

PlotUtil generated HTML plots from data stred on database

func New

func New(dataSourceName, table string) *PlotUtil

New returns a created PlotUtil or panics trying

func (PlotUtil) Hourly

func (p PlotUtil) Hourly() string

Hourly geerates 24-hour plots that start at midnight the day before now and end at midnight

func (PlotUtil) Monthly

func (p PlotUtil) Monthly() string

Monthly generates Calandar month plots

func (PlotUtil) Weekly

func (p PlotUtil) Weekly() string

Weekly generates 7-day plots

func (*PlotUtil) WriteFile

func (p *PlotUtil) WriteFile(filename, data string)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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