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

feat(gauge): add options 'progress', 'axistick' and 'detail' #399

Merged
merged 8 commits into from
Feb 10, 2024

Conversation

simachri
Copy link
Contributor

@simachri simachri commented Feb 8, 2024

Description

Add options to create a gauge chart like this:

It is inspired by this: https://echarts.apache.org/examples/en/editor.html?c=gauge-speed


Type of change

  • Bug fix (Non-breaking change which fixes an issue)
  • New feature (Non-breaking change which adds functionality)
  • Breaking change (Would cause existing functionality to not work as expected)
  • Docs
  • Others

The following options are now available for a gauge chart:

  • Progress
  • AxisTick (settings this on XAsis does not work)
  • Detail

Once this PR is merged, I will create a PR for the examples repo.

Copy link
Member

@Koooooo-7 Koooooo-7 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @simachri, thx for your contribution.
Plz fix the lint issue :)

charts/series.go Outdated Show resolved Hide resolved
Copy link
Member

@Koooooo-7 Koooooo-7 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@Koooooo-7 Koooooo-7 merged commit 7fbb77b into go-echarts:master Feb 10, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants