Skip to content

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

@rmoestl

Description

@rmoestl

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions