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

Add support to Geo charts #413

Open
1 task done
janpfeifer opened this issue Apr 13, 2024 · 1 comment
Open
1 task done

Add support to Geo charts #413

janpfeifer opened this issue Apr 13, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@janpfeifer
Copy link

Describe your proposal

First, thank you for the great project!!

While Geo object exists in go-echarts, its options are not coded -- e.g.: center, zoom, etc.

I noticed this while trying to implement the NY map example

thanks!

What the feature/improvement it should looks like?

I think it requires only implementing the missing fields.

Other information

Links:

[1] Geo options
[2] NY Lines Example

Willing to implement it?

  • Yes, I do
@janpfeifer janpfeifer added the enhancement New feature or request label Apr 13, 2024
@Koooooo-7
Copy link
Member

Hi @janpfeifer , thx for your report and glad to see you are willing to contribute on it !
Yes, the Geo options misses some configs in go-echarts which need to be added.
I checked the NY Lines sample, I think you could do the trick when you replenish those missing configs.
BTW, the myChart instance of the chart in that sample, you could get it via %MY_ECHARTS% in go-echarts also. see how-to-get-echarts-instance-in-go-echarts .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants