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

Open
#21,578 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

  • #21755 by @ecoyoung — closed without merging

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
typescript

Research direction

Start by locating the time series axis handling and the existing YYYY, YYYY-MM, and YYYY-MM-DD format paths. Trace how values such as 2026-W04 are parsed and used by the chart and data zoom, then verify that ISO Week input renders a chart with a correctly functioning data zoom slider.

Written by the indexing model from the issue text.

Description

en new-feature pending
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.

Dominant language
TypeScript
Stars
67.7k
Forks
19.9k
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from apache/echarts

All issues in apache/echarts

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.