Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(axis): time series rendering #1408

Merged
merged 1 commit into from
Apr 21, 2021
Merged

fix(axis): time series rendering #1408

merged 1 commit into from
Apr 21, 2021

Conversation

tothandras
Copy link
Contributor

Fix for #1379

The transition uses an ever-incrementing key when the type of the provided key is a Date.

Signed-off-by: András Tóth <[email protected]>
@@ -184,7 +184,7 @@ export const computeCartesianTicks = ({
}

const ticks = values.map(value => ({
key: value,
key: typeof value === 'number' || typeof value === 'string' ? value : `${value}`,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This could also be just:

Suggested change
key: typeof value === 'number' || typeof value === 'string' ? value : `${value}`,
key: `${value}`,

@codesandbox-ci
Copy link

codesandbox-ci bot commented Feb 2, 2021

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit e73b2ab:

Sandbox Source
nivo-website Configuration

@simonnilsson
Copy link

@plouc Please merge this, time scale is pretty much unusable otherwise.

@Ffloriel
Copy link

Ffloriel commented Apr 7, 2021

@plouc Is there any ETA on this fix to be release?

@mattoni
Copy link

mattoni commented Apr 7, 2021

Also running into this. Was pointed to this issue on the discord based on my issue reported here: #1468

@jamesdh
Copy link
Contributor

jamesdh commented Apr 20, 2021

@plouc @wyze please add additional maintainers if you're unable to review PR's such as this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Line time series axis rerender loop
6 participants