Skip to content

Commit cb2918f

Browse files
authored
Merge pull request #4812 from rahulr-96/patch-2
fixes #4811
2 parents 2481295 + 9987f37 commit cb2918f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/modules/tooltip/Labels.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,8 @@ export default class Labels {
237237

238238
if (typeof yLbTitleFormatter !== 'function') {
239239
yLbTitleFormatter = function (label) {
240-
return label
240+
// refrence used from line: 966 in Options.js
241+
return label ? label + ': ' : ''
241242
}
242243
}
243244

0 commit comments

Comments
 (0)