I am using the plugin jquery-sparkline to generate lightweight inline bar charts. This plugin is very popular however there is a major bug and the author isn’t fixing it because the plugin is abandoned and not maintained anymore since 2012. But other apps such as ag-grid are still using this plugin with the same bugs.
You can reproduce the error by using the official demo with a bar chart. Use 10 for the first bar and then set the other bars at 5. The first bar should be 100% height and the other bars should be only half of the first bar. But the result looks like this: https://prnt.sc/ptjyi8
Does anyone know how to fix this bug?
Plugin Source Code: https://omnipotent.net/jquery.sparkline/2.1.2/jquery.sparkline.js