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

fix:improve PictorialBarSeriesOption #17155

Merged
merged 1 commit into from
Jun 7, 2022
Merged

Conversation

dmzc
Copy link

@dmzc dmzc commented Jun 4, 2022

Brief Information

This pull request is in the type of:

  • bug fixing
  • new feature
  • others

What does this PR do?

Let the interface PictorialBarSeriesOption extends the interface SeriesEncodeOptionMixin .

Fixed issues

No issues.

Details

Before: What was the problem?

The interface PictorialBarSeriesOption don't extends interface SeriesEncodeOptionMixin.
But PictorialBar supports the config encode as document describled.
So,this PR was produced to improve the definition of PictorialBar.

After: How is it fixed in this PR?

Let the interface PictorialBarSeriesOption extends interface SeriesEncodeOptionMixin .

Misc

  • The API has been changed (apache/echarts-doc#xxx).
  • This PR depends on ZRender changes (ecomfe/zrender#xxx).

Related test cases or examples to use the new APIs

N.A.

Others

Merging options

  • Please squash the commits into a single one when merging.

Other information

@echarts-bot
Copy link

echarts-bot bot commented Jun 4, 2022

Thanks for your contribution!
The community will review it ASAP. In the meanwhile, please checkout the coding standard and Wiki about How to make a pull request.

Copy link
Contributor

@Ovilia Ovilia left a comment

Choose a reason for hiding this comment

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

Please update PR description to let us know what this PR does and why it's necessary.

@dmzc
Copy link
Author

dmzc commented Jun 6, 2022

Please update PR description to let us know what this PR does and why it's necessar

@dmzc
Copy link
Author

dmzc commented Jun 6, 2022

Please update PR description to let us know what this PR does and why it's necessary.

The PR description is completed

@dmzc dmzc closed this Jun 6, 2022
@dmzc dmzc reopened this Jun 7, 2022
@Ovilia
Copy link
Contributor

Ovilia commented Jun 7, 2022

I check the code and the following series don't have SeriesEncodeOptionMixin. @100pah Can you confirm if there are any missing by mistake?

  • Treemap
  • Tree
  • Sunburst
  • Lines
  • Graph
  • Sankey
  • ThemeRiver
  • Pictorial (the only one that has encode in the doc)

@Ovilia Ovilia requested a review from 100pah June 7, 2022 03:28
@100pah 100pah merged commit 4c167a3 into apache:master Jun 7, 2022
@echarts-bot
Copy link

echarts-bot bot commented Jun 7, 2022

Congratulations! Your PR has been merged. Thanks for your contribution! 👍

@100pah
Copy link
Member

100pah commented Jun 7, 2022

@Ovilia

I check the code and the following series don't have SeriesEncodeOptionMixin. @100pah Can you confirm if there are any missing by mistake?

Treemap
Tree
Sunburst
Lines
Graph
Sankey
ThemeRiver
Pictorial (the only one that has encode in the doc)

Tree based data source (Treemap, Tree, Sunburst) and graph based data source (Graph, Sankey ) theoretically can use encode, but we might not ready to use it (e.g., no test case yet).

Lines and ThemeRiver have special data source, which we are not sure whether it is suitable to use encode yet.

@Ovilia Ovilia added this to the 5.3.3 milestone Jun 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants