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 8eee048 commit 8a69dc6Copy full SHA for 8a69dc6
src/utils/buildAxis.linear.ts
@@ -124,12 +124,12 @@ function buildTimeAxis<TDatum>(
124
125
// see https://stackoverflow.com/a/2831422
126
if (Object.prototype.toString.call(options.min) === '[object Date]') {
127
- minValue = min([options.min, minValue as Date])
+ minValue = min([options.min as Date, minValue as Date])
128
shouldNice = false
129
}
130
131
if (Object.prototype.toString.call(options.max) === '[object Date]') {
132
- maxValue = max([options.max, maxValue as Date])
+ maxValue = max([options.max as Date, maxValue as Date])
133
134
135
0 commit comments