Skip to content

Commit b2df623

Browse files
committed
funnelarea: fix description of variables in (hover|text)template
1 parent 7d3fabb commit b2df623

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: src/traces/funnelarea/attributes.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -55,15 +55,15 @@ module.exports = {
5555
}),
5656

5757
texttemplate: texttemplateAttrs({editType: 'plot'}, {
58-
keys: ['label', 'color', 'value', 'percent', 'text']
58+
keys: ['label', 'color', 'value', 'text', 'percentInitial', 'percentTotal', 'percentPrevious']
5959
}),
6060

6161
hoverinfo: extendFlat({}, plotAttrs.hoverinfo, {
6262
flags: ['label', 'text', 'value', 'percent', 'name']
6363
}),
6464

6565
hovertemplate: hovertemplateAttrs({}, {
66-
keys: ['label', 'color', 'value', 'percent', 'text']
66+
keys: ['label', 'color', 'value', 'text', 'percentInitial', 'percentTotal', 'percentPrevious']
6767
}),
6868

6969
textposition: extendFlat({}, pieAttrs.textposition, {

0 commit comments

Comments
 (0)