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

Time Series Line Chart #384

Open
juanmigdr opened this issue Oct 4, 2024 · 1 comment
Open

Time Series Line Chart #384

juanmigdr opened this issue Oct 4, 2024 · 1 comment
Labels
enhancement New feature or request issue-accepted The issue is confirmed and accepted by the maintainers

Comments

@juanmigdr
Copy link

Description

I am using Victory Charts in my react native expo project and was wondering if it would be possible to create a Time-Series chart but I don't see this is a current feature.

Proposal

Add support for time series chart which takes in two arguments. X = Date | Y = Value
Thanks!

@carbonrobot carbonrobot added enhancement New feature or request issue-accepted The issue is confirmed and accepted by the maintainers labels Oct 4, 2024
@zibs
Copy link
Contributor

zibs commented Oct 4, 2024

I think this may already be possible but it requires you to structure your data slightly differently. Take a look at the example bar chart in the example repo. With a combination of formatXLabel you are able to transform your x values into anything you need, including dates to display.

Let me know if that doesn't cover your use case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request issue-accepted The issue is confirmed and accepted by the maintainers
Projects
None yet
Development

No branches or pull requests

3 participants