plot

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ResourcesPath 资源路径
	ResourcesPath = "fonts"
)

Variables

This section is empty.

Functions

func GetDefaultFont

func GetDefaultFont() (*truetype.Font, error)

GetDefaultFont returns the default font (Roboto-Medium).

func ImageContent added in v0.4.0

func ImageContent(c chart.Chart) (string, error)

func OpenImage added in v0.4.0

func OpenImage(c chart.Chart) error

TODO: 打开chart有点问题, 原因可能是生成的URL过长

func OpenURL added in v0.4.0

func OpenURL(url string) error

OpenURL 用系统默认的浏览器打开一个url

func SeriesIndex

func SeriesIndex(s pandas.Series) []float64

Types

This section is empty.

Jump to

Keyboard shortcuts

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