Registry / utility / go-echarts-go-echarts-v2

go-echarts-go-echarts-v2

JSON →
library2.7.2gogounverified

Package go-echarts provides a Go library for generating beautiful charts using the Apache ECharts library.

go get github.com/go-echarts/go-echarts/v2
INSTALL
IMPORT
SIG · GO-ECHARTS-GO-ECHA
G
go-echarts-go-echarts-v2
utilitygov2.7.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

echarts
github.com/go-echarts/go-echarts/v2

Creates a simple bar chart and renders it to an HTML file.

package main import ( "os" "github.com/go-echarts/go-echarts/v2/charts" "github.com/go-echarts/go-echarts/v2/opts" ) func main() { bar := charts.NewBar() bar.SetXAxis([]string{"A", "B", "C"}). AddSeries("Category", []opts.BarData{{Value: 10}, {Value: 20}, {Value: 30}}) f, _ := os.Create("bar.html") bar.Render(f) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.7.2latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
10
Resources
go-echarts-go-echarts-v2 — go get go-echarts-go-echarts-v2 · libregistry