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

Remove unnecessary checks for hidden data #6255

Closed
wants to merge 1 commit into from

Conversation

benmccann
Copy link
Contributor

@benmccann benmccann commented May 7, 2019

Hiding of an individual data item is undocumented and no controller using these scales actually supports it.

This leaves support for hidden for the polarArea and doughnut controllers and radialLinear scale

@kurkle
Copy link
Member

kurkle commented May 8, 2019

It comes from #2346.
Not sure why this does not break any tests.

@kurkle kurkle requested a review from simonbrunel May 8, 2019 14:34
@benmccann
Copy link
Contributor Author

I would be surprised if it broke any tests since the controllers don't use the hidden attribute. The functionality seems unrelated to the goal of #2346 so I'm not sure the original intention of adding it

Copy link
Member

@simonbrunel simonbrunel left a comment

Choose a reason for hiding this comment

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

Element supports the hidden state (public) and controllers should handle it since it can be altered by external code (custom legend, plugins, etc.). This PR would likely break a few integrations.

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.

3 participants