apache / apache/echarts

OKLCH Color Support

Open
#20,757 27 comments 5 reactions 0 assignees View on GitHub
en new-feature pending
Dominant language
TypeScript
Stars
67.3k
Forks
19.8k
Avg merge
11d 14h
Merged PRs (30d)
8

Description

### What problem does this feature solve?

Now that tailwind css is using oklch colors, it would be great to be able to pass them as the colors for ECHARTS. This would make it easier to have consistent colors in the charts and your web application.

Currently if you do this the series goes blank when you hover over it.

### What does the proposed API look like?

Ideally you would be able to pass a list of oklch colors to the https://echarts.apache.org/en/option.html#color property.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.