Time zone handling
native
UTC vs local display and explicit time zones
Matrix status native. Verification types · strong. ChartKit option: ChartKitChartSpecV1.timezone.
IANA timezone for temporal axes, ticks, and tooltips. Omitted means UTC so server and client labels match.
Source: chartkit:packages/core/src/timezone.ts:1
ChartKit spec
Passed validate() during npm run matrix:refresh. The SVG is the server render.
{
"version": "1",
"type": "line",
"data": [
{
"t": "2026-03-08T05:00:00Z",
"load": 40
},
{
"t": "2026-03-08T06:00:00Z",
"load": 42
},
{
"t": "2026-03-08T07:00:00Z",
"load": 48
},
{
"t": "2026-03-08T08:00:00Z",
"load": 45
}
],
"encoding": {
"x": {
"field": "t",
"type": "temporal"
},
"y": "load"
},
"a11y": {
"alt": "Load stepped across the New York spring-forward."
},
"size": {
"width": 640,
"height": 260
},
"timezone": "America/New_York"
}Other libraries
Option names are the paths recorded in the matrix. A grep-only cell names the identifier that matched, not a render test. Markdown copy: data.timezone.md.
| Library | Status | Option | Verification | Source |
|---|---|---|---|---|
| Chart.js | plugin | —zone via adapter options | npm · weak | — |
| Recharts | none | — | absence · absence | — |
| Apache ECharts | native | grep: useUTC | grep · weak | echarts/types/src/model/globalDefault.d.ts:66 |
| Highcharts | native | time.timezone, time.useUTC | types · strong | highcharts/highcharts.d.ts:106988 |
| Plotly.js | none | —dates are treated as naive (no tz conversion) | absence · absence | — |
| Nivo | partial | grep: useUTCxScale.useUTC | grep · weak | @nivo/scales/dist/types/types.d.ts:90 |
| Victory | none | — | absence · absence | — |
| visx | native | grep: scaleUtc | grep · weak | @visx/scale/lib/index.d.ts:6 |
| ApexCharts | native | xaxis.labels.datetimeUTC | types · strong | apexcharts/types/apexcharts.d.ts:4927 |
| Tremor (npm) | none | — | absence · absence | — |
| Observable Plot | native | grep: utcutc vs time scales | grep · weak | @observablehq/plot/src/scales.d.ts:181 |
| Vega-Lite | native | grep: utctimeUnit utc*, scale type utc | grep · weak | 1645: "description" |
| AG Charts | native | grep: timezone | grep · weak | ag-charts-community/dist/types/src/module-support.d.ts:21 |
| amCharts 5 | native | grep: timezoneroot.timezone | grep · weak | @amcharts/amcharts5/index.d.ts:48 |
| Google Charts | unknown | — | conflict · unknown | — |
| uPlot | native | Options.tzDate | types · strong | uplot/dist/uPlot.d.ts:361 |
| TradingView Lightweight Charts | native | grep: localizationtimestamps are UTC; format via localization | grep · weak | 1006: * Basic localization options |
| MUI X Charts | none | — | absence · absence | — |
| Mermaid (chart-ish diagrams only) | none | — | absence · absence | — |
| AntV G2 | unknown | grep: utc | unverified · unknown | — |