Skip to content

bar.insidetextfont.color misses that it can be an array of color #1114

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

Closed
rmoestl opened this issue Oct 4, 2018 · 0 comments · Fixed by #1119
Closed

bar.insidetextfont.color misses that it can be an array of color #1114

rmoestl opened this issue Oct 4, 2018 · 0 comments · Fixed by #1119

Comments

@rmoestl
Copy link

rmoestl commented Oct 4, 2018

Copied straight from plotly/plotly.js#2951

Bug in online API reference?

The color attribute description, see https://plot.ly/javascript/reference/#bar-insidetextfont-color, lacks that it can be an array of colors as well.

The attribute indeed accepts and works with an array of colors. IMHO this is also correctly specified in https://github.com/plotly/plotly.js/blob/48209a09ac391b6ac2ea540988f2f103f2078d5e/src/traces/bar/attributes.js#L20 through arrayOk: true

CC @cldougl

@rmoestl rmoestl changed the title Not mentioned that bar.insidetextfont.color can be an *array of color* bar.insidetextfont.color misses that it can be an *array of color* Oct 4, 2018
@rmoestl rmoestl changed the title bar.insidetextfont.color misses that it can be an *array of color* bar.insidetextfont.color misses that it can be an array of color Oct 4, 2018
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 a pull request may close this issue.

1 participant