Skip to content

Commit fa71bbf

Browse files
committed
update description
1 parent f8e3ec3 commit fa71bbf

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

Diff for: src/components/legend/attributes.js

+5-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,11 @@ module.exports = {
7878
valType: 'number',
7979
min: 0,
8080
editType: 'legend',
81-
description: 'Sets the width (in px or fraction) of the legend.',
81+
description: [
82+
'Sets the width (in px or fraction) of the legend.',
83+
'Use 0 to size the entry based on the text width,',
84+
'when `entrywidthmode` is set to *pixels*.'
85+
].join(' ')
8286
},
8387
entrywidthmode: {
8488
valType: 'enumerated',

Diff for: test/plot-schema.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2756,7 +2756,7 @@
27562756
},
27572757
"editType": "legend",
27582758
"entrywidth": {
2759-
"description": "Sets the width (in px or fraction) of the legend.",
2759+
"description": "Sets the width (in px or fraction) of the legend. Use 0 to size the entry based on the text width, when `entrywidthmode` is set to *pixels*.",
27602760
"editType": "legend",
27612761
"min": 0,
27622762
"valType": "number"

0 commit comments

Comments
 (0)