Skip to content

Support 8 character hex color codes #6035

@franxois

Description

@franxois

Expected Behavior

I would like to define the backgroundColor with hex format and alpha value #RRGGBBAA
The graph should use this color, as well as the tootltip

Current Behavior

With chart.js 2.3.0
The graph bar use the good color but the console is flooded with errors
With chart.js 2.7.3
The graph bar use the good color but the tooltip is black

Possible Solution

Steps to Reproduce (for bugs)

With chart.js 2.7.3
https://jsfiddle.net/u1tykvqb/

Context

Environment

  • Chart.js version:
  • Browser name and version:
  • Link to your project:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions