Skip to content

Commit a155bd9

Browse files
yauhen-kavaliouapalchys
authored andcommitted
change valType
1 parent f958c3b commit a155bd9

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

src/plots/cartesian/layout_attributes.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,12 @@ module.exports = {
452452
_isLinkedToArray: 'tickformatstop',
453453

454454
dtickrange: {
455-
valType: 'data_array',
455+
valType: 'info_array',
456+
role: 'info',
457+
items: [
458+
{valType: 'any'},
459+
{valType: 'any'}
460+
],
456461
description: [
457462
'range [*min*, *max*], where *min*, *max* - dtick values',
458463
'which describe some zoom level, it is possible to omit *min*',

src/traces/carpet/axis_attributes.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,12 @@ module.exports = {
269269
_isLinkedToArray: 'tickformatstop',
270270

271271
dtickrange: {
272-
valType: 'data_array',
272+
valType: 'info_array',
273+
role: 'info',
274+
items: [
275+
{valType: 'any'},
276+
{valType: 'any'}
277+
],
273278
description: [
274279
'range [*min*, *max*], where *min*, *max* - dtick values',
275280
'which describe some zoom level, it is possible to omit *min*',

0 commit comments

Comments
 (0)