tremor icon indicating copy to clipboard operation
tremor copied to clipboard

[Feature]: Change Y-Axis orientation

Open TobiDevloft opened this issue 1 year ago • 3 comments

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?

TobiDevloft avatar Nov 21 '23 11:11 TobiDevloft

Not quite sure, happy to discuss @christopherkindl

severinlandolt avatar Nov 22 '23 04:11 severinlandolt

Hi @TobiDevloft,

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

christopherkindl avatar Nov 24 '23 20:11 christopherkindl

@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.

TobiDevloft avatar Nov 27 '23 08:11 TobiDevloft