nhn / tui.chart

🍞📊 Beautiful chart for data visualization.
http://ui.toast.com/tui-chart/
MIT License
5.34k stars 326 forks source link

LineScatterChart legend does not show/hide the right serie #813

Open nicofrand opened 3 weeks ago

nicofrand commented 3 weeks ago

Describe the bug

When unselecting a serie, the serie displayed/hidden is not the correct one.

Codepen: https://codepen.io/nicofrand/pen/abgYWGe

Expected behavior

When unselecting the "First" serie, I expect the red dots to diseappear.

Screenshots

With everything selected:

image

With the "First" serie unselected:

image

The red dots still appear but the green dots disappeared.

Desktop (please complete the following information):

Same with Chrome 127.

nicofrand commented 3 weeks ago

The colors are also mixed.