nhn / tui.chart

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

fix: boxplot negative number compatibility (fix #779) #780

Closed CoderSeoul closed 1 year ago

CoderSeoul commented 1 year ago

Please check if the PR fulfills these requirements

Description

PROBLEM

While using the boxplot chart, I found If data contains negative numbers, the boxplot series goes out of the area

SOLUTION

‘this.rect.height’ must be larger than ‘value * ratio’ This is because if the value is negative, it is out of the 'this.rect' area. Therefore, we need to convert all input values into positive so that the values can find a suitable y-position.


Thank you for your contribution to TOAST UI product. 🎉 😘 ✨

stale[bot] commented 1 year ago

This issue has been automatically marked as inactive because there hasn’t been much going on it lately. It is going to be closed after 7 days. Thanks!

stale[bot] commented 1 year ago

This issue will be closed due to inactivity. Thanks for your contribution!