Skip to content

Commit 79415cd

Browse files
committed
use trace._meta for funnelarea title.text
1 parent 1426be7 commit 79415cd

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/traces/funnelarea/plot.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -140,9 +140,10 @@ module.exports = function plot(gd, cdModule) {
140140
s.attr('data-notex', 1);
141141
});
142142

143-
var txt = fullLayout.meta ?
144-
Lib.templateString(trace.title.text, {meta: fullLayout.meta}) :
145-
trace.title.text;
143+
var txt = trace.title.text;
144+
if(trace._meta) {
145+
txt = Lib.templateString(txt, trace._meta);
146+
}
146147

147148
titleText.text(txt)
148149
.attr({

0 commit comments

Comments
 (0)