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

Setting initial position in CartesianChart state #253

Open
OscarHgg opened this issue May 2, 2024 · 3 comments
Open

Setting initial position in CartesianChart state #253

OscarHgg opened this issue May 2, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@OscarHgg
Copy link

OscarHgg commented May 2, 2024

I have read through the Victory Native XL documentation, and I understand setting an initial value of the useChartPressState, but I am wondering if its possible to create an initial position?

The case is in regards to a electricity spot price graph, where the initial position should be set to the current hour.

Is this possible? If so, I am more than happy to provide example code. If not, it would be a great enhancement!

@zibs
Copy link
Contributor

zibs commented May 2, 2024

Hey there!

I could be wrong, but based on some experimentation, it doesn't seem like this is possible at the moment. It does seem like it could possible with a bit of work though. I'll mark this as an enhancement for now!

@zibs zibs added the enhancement New feature or request label May 2, 2024
@OscarHgg
Copy link
Author

OscarHgg commented May 4, 2024

While I have your attention, is there a way to control the zIndex of the y labels? Right now my Area graph gets rendered above them, which doesn't look great.

@okaybeydanol
Copy link

#269 (comment)

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

No branches or pull requests

3 participants