mirror of
https://github.com/discourse/discourse.git
synced 2025-02-21 01:25:53 +08:00

When the tooltip items are tooltipItem = [{parsed: {y:12} }, {parsed: {y:10} } ], reducing without a initial value as a number would result in Javascript thinking it is a string. Thanks, Javascript! There are no tests here yet since this makes use of an external library Chart.js.