Legend hotfix

This commit is contained in:
louisnw
2023-10-31 22:57:09 +00:00
parent fecfb6531c
commit e587dd357c
2 changed files with 3 additions and 1 deletions

View File

@ -241,7 +241,7 @@ if (!window.Chart) {
if (!param.seriesData.get(line.line.series)) return
let price = param.seriesData.get(line.line.series).value
if (line.line.series._series._seriesType === 'Histogram') {
if (line.line.type === 'histogram') {
price = shorthandFormat(price)
}
else {