8000 Update plot schema · plotly/plotly.js@17b86d1 · GitHub
[go: up one dir, main page]

Skip to content

Commit 17b86d1

Browse files
committed
Update plot schema
1 parent fb035f7 commit 17b86d1

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

src/components/legend/attributes.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ module.exports = {
4242
description: [
4343
'If greater than one, it sets the max height (in px) of the horizontaly aligned legend.',
4444
'Otherwise, it sets the max height ratio (layout * ratio) of the visible legend when horizontaly aligned.',
45-
'Default value is 0.5; the legend will take up to 50% of the layout height before displaying a scrollbar'
45+
'Default value is 0.5; the legend will take up to 50% of the layout height before displaying a scrollbar.'
4646
].join(' ')
4747
},
4848
borderwidth: {

test/plot-schema.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3396,6 +3396,14 @@
33963396
"valType": "integer"
33973397
}
33983398
},
3399+
"hmaxheight": {
3400+
"description": "If greater than one, it sets the max height (in px) of the horizontaly aligned legend. Otherwise, it sets the max height ratio (layout * ratio) of the visible legend when horizontaly aligned. Default value is 0.5; the legend will take up to 50% of the layout height before displaying a scrollbar",
3401+
"dflt": 0.5,
3402+
"editType": "legend",
3403+
"min": 0,
3404+
"role": "style",
3405+
"valType": "number"
3406+
},
33993407
"indentation": {
34003408
"description": "Sets the indentation (in px) of the legend entries.",
34013409
"dflt": 0,

0 commit comments

Comments
 (0)
0