Skip to content

go-echarts/go-echarts-assets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

14 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

go-echarts-assets

go-echarts-assets is the turn key solution for hosting go-echarts javascript assets.
It can be placed as it is into your server and its gh-pages acts as the default content delivery host when you evaluate go-echarts for web purposes. i.e.

On page usage

        page := components.NewPage()
	page.AssetsHost = "https://cdn.jsdelivr.net/npm/[email protected]/dist/"

On single chart usage

	bar := charts.NewBar()
	bar.SetGlobalOptions(
		charts.WithInitializationOpts(opts.Initialization{
			AssetsHost: "https://cdn.jsdelivr.net/npm/[email protected]/dist/",
		}),
        )

Releases

No releases published

Packages

No packages published