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

[Feature]: Change Y-Axis orientation #827

Open
TobiDevloft opened this issue Nov 21, 2023 · 3 comments
Open

[Feature]: Change Y-Axis orientation #827

TobiDevloft opened this issue Nov 21, 2023 · 3 comments
Labels
Status: Under Consideration Not yet reached consensus. This means we'd like to hear from more people who would be helped by this Type: Feature New feature for existing component

Comments

@TobiDevloft
Copy link

TobiDevloft commented Nov 21, 2023

What problem does this feature solve?

I have a use case where I want to display the y-Axis on the right side of the chart. It seems like rechart supports this.

What does the proposed API look like?

orientation?: 'left' : 'right' with the default being 'left'. Maybe it would also be possible to just expose the rechart YAxis properties as yAxisConfig or similar?

@severinlandolt
Copy link
Member

Not quite sure, happy to discuss @christopherkindl

@severinlandolt severinlandolt added Status: Under Consideration Not yet reached consensus. This means we'd like to hear from more people who would be helped by this Type: Feature New feature for existing component labels Nov 22, 2023
@christopherkindl
Copy link
Member

Hi @TobiDevloft,

thanks for the request! What would be the use case where a left-sided y-axis makes more sense in your opinion?

@TobiDevloft
Copy link
Author

TobiDevloft commented Nov 27, 2023

@christopherkindl, thanks for getting back to me! In a financial chart we want to have two charts overlay, with each chart having a different Axis-labeling.

@severinlandolt severinlandolt linked a pull request Apr 12, 2024 that will close this issue
15 tasks
@scaltunsoy scaltunsoy mentioned this issue Apr 29, 2024
15 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Under Consideration Not yet reached consensus. This means we'd like to hear from more people who would be helped by this Type: Feature New feature for existing component
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants