Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Notification] Current echarts.min.js assets version is v5.4.3. #310

Open
Koooooo-7 opened this issue Oct 15, 2023 · 1 comment
Open

[Notification] Current echarts.min.js assets version is v5.4.3. #310

Koooooo-7 opened this issue Oct 15, 2023 · 1 comment

Comments

@Koooooo-7
Copy link
Member

Notification

go-echarts hosts echarts assets updates.

Latest version: v5.4.3

@go-echarts go-echarts locked as off-topic and limited conversation to collaborators Oct 15, 2023
@Koooooo-7 Koooooo-7 pinned this issue Oct 15, 2023
@Koooooo-7
Copy link
Member Author

Koooooo-7 commented Oct 16, 2023

Breaking in 3D charts and Liquid chart

💡 Fixed in go-echarts v2.3.x+

As per to the 3d and 3rd charts doesn't support the newer echarts version which we upgrade to v5.4.3.
The workaround is downgrade the echarts version to 4.x.
Sorry for the inconvenient, we will do the compatibility asap.

  • On page usage
        page := components.NewPage()
	page.AssetsHost = "#invalid"
	page.AddCustomizedJSAssets("https://cdn.jsdelivr.net/npm/echarts@4.9.0/dist/echarts.min.js")
	page.AddCustomizedJSAssets("https://go-echarts.github.io/go-echarts-assets/assets/echarts-gl.min.js")
  • On single chart usage
	scatter3d := charts.NewScatter3D()
	scatter3d.AssetsHost = "#invalid"
	scatter3d.AddCustomizedJSAssets("https://cdn.jsdelivr.net/npm/echarts@4.9.0/dist/echarts.min.js")
	scatter3d.AddCustomizedJSAssets("https://go-echarts.github.io/go-echarts-assets/assets/echarts-gl.min.js")

@Koooooo-7 Koooooo-7 unpinned this issue Jan 14, 2024
@Koooooo-7 Koooooo-7 reopened this Jan 14, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant