go-echarts / examples Goto Github PK
View Code? Open in Web Editor NEW🔖 go-echarts examples for showing how to use
Home Page: https://go-echarts.github.io/go-echarts/
License: MIT License
🔖 go-echarts examples for showing how to use
Home Page: https://go-echarts.github.io/go-echarts/
License: MIT License
when I tried to run the examples I got that message
examples/bar.go:83:6: unknown field 'Lang' in struct literal of type opts.ToolBoxFeatureDataView
I tried it in go 1.15.3
$ go version
go version go1.15.3 darwin/amd64
cannot load pages: ex:
gives errors where the first chart renders, but the others do not
error messages:
Loaded claygl, version 1.2.1
echarts-gl.min.js:1 Loaded echarts, version 4.1.0
page_none_layout.html:30 Uncaught SyntaxError: Identifier 'goecharts_MZqBadxvuKyl' has already been declared
page_none_layout.html:41 Uncaught SyntaxError: Identifier 'goecharts_MZqBadxvuKyl' has already been declared
page_none_layout.html:52 Uncaught SyntaxError: Identifier 'goecharts_MZqBadxvuKyl' has already been declared
page_none_layout.html:74 Uncaught SyntaxError: Identifier 'goecharts_mhjEmTCPRtms' has already been declared
page_none_layout.html:85 Uncaught SyntaxError: Identifier 'goecharts_mhjEmTCPRtms' has already been declared
page_none_layout.html:96 Uncaught SyntaxError: Identifier 'goecharts_mhjEmTCPRtms' has already been declared
page_none_layout.html:107 Uncaught SyntaxError: Identifier 'goecharts_mhjEmTCPRtms' has already been declared
page_none_layout.html:118 Uncaught SyntaxError: Identifier 'goecharts_mhjEmTCPRtms' has already been declared
page_none_layout.html:129 Uncaught SyntaxError: Identifier 'goecharts_mhjEmTCPRtms' has already been declared
page_none_layout.html:140 Uncaught SyntaxError: Identifier 'goecharts_mhjEmTCPRtms' has already been declared
page_none_layout.html:151 Uncaught SyntaxError: Identifier 'goecharts_mhjEmTCPRtms' has already been declared
page_none_layout.html:162 Uncaught SyntaxError: Identifier 'goecharts_mhjEmTCPRtms' has already been declared
page_none_layout.html:173 Uncaught SyntaxError: Identifier 'goecharts_mhjEmTCPRtms' has already been declared
page_none_layout.html:184
i also noticed this issue trying to recreate the issue on my project
Hi, could you create an example where the formatter uses a callback to format text per series element?
charts.WithLabelOpts(
opts.Label{
Show: true,
Formatter: callback?,
},
)
❯ go run .
# github.com/go-echarts/go-echarts-examples/examples
examples/sunburst.go:14:32: undefined: opts.SunBurstData
examples/sunburst.go:15:18: undefined: opts.SunBurstData
examples/sunburst.go:17:25: undefined: opts.SunBurstData
examples/sunburst.go:31:22: undefined: charts.Sunburst
examples/sunburst.go:32:14: undefined: charts.NewSunburst
examples/tree.go:12:20: undefined: opts.TreeData
examples/tree.go:52:14: undefined: opts.TreeData
examples/tree.go:59:18: undefined: charts.Tree
examples/tree.go:60:11: undefined: charts.NewTree
examples/tree.go:68:4: undefined: charts.WithTreeOpts
examples/tree.go:68:4: too many errors
Removing the examples/sunburst.go
and examples/tree.go
files makes for a quick fix and allows the server to run.
TODO: refactor scatter.go.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.