Skip to content

Add valid attribute fill for trace type "box" #2444

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

oliver-gray
Copy link
Contributor

The "fill" attribute can be used in combination with the box trace type to provide colours to box plots. This is particularly useful to enable corroboration between traces of different types.
For example, between colours used for point/scatter traces and box traces.
This change sets fill as a valid attribute where thisTrace$type == "box".

Including this attribute as valid in the source .json file may be an alternative fix for the inaccurate/non-specific warning message.

@oliver-gray
Copy link
Contributor Author

@cpsievert @KasperSkytte Please could you take a look at this? Many thanks.

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.

1 participant