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

Hoist ECharts options as <ECharts> props #49

Open
SevenOutman opened this issue Sep 24, 2021 · 0 comments
Open

Hoist ECharts options as <ECharts> props #49

SevenOutman opened this issue Sep 24, 2021 · 0 comments
Milestone

Comments

@SevenOutman
Copy link
Member

Is your feature request related to a problem? Please describe.

For current moment ECharts options are passed to <ECharts> component as the option prop.

Describe the solution you'd like

Spread option directly as <ECharts> attributes.

<ECharts
  color={['#34C3FF', '#EE5765', '#F5A623']}
  dataset={{
    source: chartData,
  }}
/>

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

@SevenOutman SevenOutman added this to the v4.1.0 milestone Sep 26, 2021
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

No branches or pull requests

1 participant