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
21 stars 13 forks source link

🐛 [BUG] eazychart-[react | vue] - Using Storybook to update tick text makes the legend non reactive #86

Open deathsh0ot opened 1 year ago

deathsh0ot commented 1 year ago

Description

When changing the tick title through the storybook data section in the control panel, the tick text would be updated but the legend below is not and it becomes buggy (changes color and the bar does not disappear when toggled off).

Bug

Changing the tick text: image toggle off the legend for that tick: image

Reproduction steps

1. Select the bar chart 
2. Change any of the tick titles through the data section in the control panel.
3. toggle off the legend for that tick title
4. See error

Logs

No response

Browsers

Chrome

OS

Linux