We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84c26b1 commit 69209ecCopy full SHA for 69209ec
src/utils/buildAxis.linear.ts
@@ -17,7 +17,6 @@ import {
17
timeHour,
18
timeDay,
19
timeMonth,
20
- timeWeek,
21
timeYear,
22
} from 'd3-time'
23
@@ -146,16 +145,6 @@ function buildTimeAxis<TDatum>(
146
145
// any of the time units OR if the max date resides in a different
147
// unit boundary than today's, we use that unit as context.
148
149
- const unitScale = [
150
- 'millisecond',
151
- 'second',
152
- 'minute',
153
- 'hour',
154
- 'day',
155
- 'month',
156
- 'year',
157
- ] as const
158
-
159
let autoFormatStr: string
160
161
if (minValue && maxValue) {
0 commit comments