Hexastack / eazychart

EazyChart is a reactive chart library 📈, it allows you to easily add SVG charts in your React and Vue web applications.
https://eazychart.com
MIT License
23 stars 14 forks source link

🐛 [BUG] - @eazychart-[react & vue] - AreaChart coloration discontinuity when swapAxis is true #55

Closed yassinedorbozgithub closed 2 years ago

yassinedorbozgithub commented 2 years ago

Description

I find that for the Area Chart has a discontinuity when swapAxis is true.

Reproduction steps

1. yarn storybook
2. Select Area Chart
3. Enable the swapAxis and observe the chart coloration discontinuity

Screenshots

Logs

No response

Browsers

Chrome

OS

Linux

marrouchi commented 2 years ago

@yassinedorbozgithub In the current PR I'm working on, I removed the swapAxis prop from all charts. This because we can simply swap using yAxis and xAxis props.