Skip to content

Commit a3ca951

Browse files
committed
range/constraintrange turned into info_array
1 parent 0764b63 commit a3ca951

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

src/traces/parcoords/attributes.js

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,16 +64,24 @@ module.exports = {
6464
description: 'Shows the dimension when set to `true` (the default). Hides the dimension for `false`.'
6565
},
6666
range: {
67-
valType: 'data_array',
67+
valType: 'info_array',
6868
role: 'info',
69+
items: [
70+
{valType: 'number'},
71+
{valType: 'number'}
72+
],
6973
description: [
7074
'The domain range that represents the full, shown axis extent. Defaults to the `values` extent.',
7175
'Must be an array of `[fromValue, toValue]` with finite numbers as elements.'
7276
].join(' ')
7377
},
7478
constraintrange: {
75-
valType: 'data_array',
79+
valType: 'info_array',
7680
role: 'info',
81+
items: [
82+
{valType: 'number'},
83+
{valType: 'number'}
84+
],
7785
description: [
7886
'The domain range to which the filter on the dimension is constrained. Must be an array',
7987
'of `[fromValue, toValue]` with finite numbers as elements.'

0 commit comments

Comments
 (0)