apache / apache/echarts

[Feature] Support for ISO Week (IYYY-IW)

Open
#21,578 0 comments 0 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?

I came across this use case when summarising for a time period, e.g: year, month, week, day...

We can use the following time formats with success:

YYYY-MM-DD for daily summary
YYYY-MM for a monthl summary
YYYY for a yearly summary

The ISO Week format is IYYY-IW which produces an example: 2026-W04 for the fourth week in 2026.

For an X axis with values such as 2026-W04 we don't get a chart at all and the data zoom slider moves.

Some screenshots:

Image

Image

Image

### What does the proposed API look like?

time series should accept the ISO Week format (IYYY-IW), example: 2026-W04 for the fourth week in 2026.

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.